Skip to content

Commit

Permalink
Update compiler/noirc_frontend/src/hir/comptime/value.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Michael J Klein <[email protected]>
  • Loading branch information
jfecher and michaeljklein authored Jul 24, 2024
1 parent cd46a54 commit fea4780
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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

0 comments on commit fea4780

Please sign in to comment.