Skip to content

Commit

Permalink
chore: remove unnecessary clone
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench committed Dec 21, 2023
1 parent 776a8b7 commit 1f82976
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/noirc_evaluator/src/ssa/ir/instruction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ impl Instruction {
}
}
Instruction::Constrain(lhs, rhs, msg) => {
let constraints = decompose_constrain(*lhs, *rhs, msg.clone(), dfg);
let constraints = decompose_constrain(*lhs, *rhs, msg, dfg);
if constraints.is_empty() {
Remove
} else {
Expand Down

0 comments on commit 1f82976

Please sign in to comment.