From c0aa78223ccfe8ca71b40cccb8eb815a50ad95d9 Mon Sep 17 00:00:00 2001 From: evan-schott <53463459+evan-schott@users.noreply.github.com> Date: Mon, 11 Sep 2023 14:40:28 -0700 Subject: [PATCH] formatting: --- compiler/passes/src/code_generation/visit_expressions.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/passes/src/code_generation/visit_expressions.rs b/compiler/passes/src/code_generation/visit_expressions.rs index a4f6f11353..0280aec5d1 100644 --- a/compiler/passes/src/code_generation/visit_expressions.rs +++ b/compiler/passes/src/code_generation/visit_expressions.rs @@ -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) };