Skip to content

Commit

Permalink
formatting:
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-schott committed Sep 11, 2023
1 parent c960d71 commit c0aa782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/passes/src/code_generation/visit_expressions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ impl<'a> CodeGenerator<'a> {
write!(instruction, " {argument}").expect("failed to write to string");
}
let destination_register = get_destination_register();
write!(instruction, " into {destination_register} as {return_type};\n").expect("failed to write to string");
writeln!(instruction, " into {destination_register} as {return_type};").expect("failed to write to string");
(destination_register, instruction)
};

Expand Down

0 comments on commit c0aa782

Please sign in to comment.