Skip to content

Commit 9081cb2

Browse files
remove redundant mut
1 parent d6242ac commit 9081cb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vm/src/compile.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1389,7 +1389,7 @@ impl Compiler {
13891389
// Low level helper functions:
13901390
fn emit(&mut self, instruction: Instruction) {
13911391
let location = self.current_source_location.clone();
1392-
let mut cur_code_obj = self.current_code_object();
1392+
let cur_code_obj = self.current_code_object();
13931393
cur_code_obj.instructions.push(instruction);
13941394
cur_code_obj.locations.push(location);
13951395
// TODO: insert source filename

0 commit comments

Comments
 (0)