Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: jfecher <[email protected]>
  • Loading branch information
TomAFrench and jfecher authored Sep 5, 2023
1 parent b365bcc commit 947c516
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/noirc_evaluator/src/ssa/opt/constant_folding.rs
Original file line number Diff line number Diff line change
Expand Up @@ -396,9 +396,9 @@ mod test {
fn constrained_value_replacement() {
// fn main f0 {
// b0(v0: Field):
// constrain v0 10
// constrain v0 == Field 10
// v1 = add v0, Field 1
// constrain v1 11
// constrain v1 == Field 11
// }
//
// After constructing this IR, we run constant folding which should replace references to `v0`
Expand Down Expand Up @@ -428,7 +428,7 @@ mod test {
//
// fn main f0 {
// b0(v0: Field):
// constrain v0 10
// constrain v0 == Field 10
// }
let ssa = ssa.fold_constants();
let main = ssa.main();
Expand Down

0 comments on commit 947c516

Please sign in to comment.