Skip to content

Commit

Permalink
Merge branch 'jf/impl-fmt-strings' of https://github.com/noir-lang/noir
Browse files Browse the repository at this point in the history
… into jf/impl-fmt-strings
  • Loading branch information
jfecher committed Jul 24, 2024
2 parents 3933403 + 8cdeb66 commit ebc3765
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/noirc_frontend/src/hir/comptime/value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ impl Value {
ExpressionKind::Literal(Literal::Integer((value as u128).into(), false))
}
Value::String(value) => ExpressionKind::Literal(Literal::Str(unwrap_rc(value))),
// Forat strings are lowered as normal strings since they are already interpolated.
// Format strings are lowered as normal strings since they are already interpolated.
Value::FormatString(value, _) => {
ExpressionKind::Literal(Literal::Str(unwrap_rc(value)))
}
Expand Down Expand Up @@ -283,7 +283,7 @@ impl Value {
HirExpression::Literal(HirLiteral::Integer((value as u128).into(), false))
}
Value::String(value) => HirExpression::Literal(HirLiteral::Str(unwrap_rc(value))),
// Forat strings are lowered as normal strings since they are already interpolated.
// Format strings are lowered as normal strings since they are already interpolated.
Value::FormatString(value, _) => {
HirExpression::Literal(HirLiteral::Str(unwrap_rc(value)))
}
Expand Down

0 comments on commit ebc3765

Please sign in to comment.