Skip to content

Commit 2ae4966

Browse files
committed
fmt
1 parent 7aacfd2 commit 2ae4966

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

compiler/noirc_evaluator/src/ssa/opt/die.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,8 @@ impl Context {
200200
let typ = function.dfg.type_of_value(*value);
201201

202202
// We assume arrays aren't mutated until we find an array_set
203-
let inc_rc = RcInstruction { id: instruction_id, array: *value, possibly_mutated: false };
203+
let inc_rc =
204+
RcInstruction { id: instruction_id, array: *value, possibly_mutated: false };
204205
inc_rcs.entry(typ).or_default().push(inc_rc);
205206
}
206207
Instruction::ArraySet { array, .. } => {

compiler/noirc_evaluator/src/ssa/opt/rc.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ impl Context {
8080
let typ = function.dfg.type_of_value(*value);
8181

8282
// We assume arrays aren't mutated until we find an array_set
83-
let inc_rc = RcInstruction { id: *instruction, array: *value, possibly_mutated: false };
83+
let inc_rc =
84+
RcInstruction { id: *instruction, array: *value, possibly_mutated: false };
8485
self.inc_rcs.entry(typ).or_default().push(inc_rc);
8586
}
8687
}

0 commit comments

Comments
 (0)