We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6da0e1 commit 0fcc5c3Copy full SHA for 0fcc5c3
1 file changed
cprover_bindings/src/goto_program/expr.rs
@@ -367,7 +367,7 @@ impl Expr {
367
size_of_annotation: ann.clone(),
368
};
369
let sub = |e: Expr| e.substitute_symbol(old_id, replacement);
370
- let sub_vec = |v: Vec<Expr>| v.into_iter().map(|e| sub(e)).collect();
+ let sub_vec = |v: Vec<Expr>| v.into_iter().map(&sub).collect();
371
372
match *self.value {
373
ExprValue::Symbol { identifier } if identifier == *old_id => {
0 commit comments