formatting:

This commit is contained in:
evan-schott 2023-09-11 14:40:28 -07:00
parent c960d7195f
commit c0aa78223c

View File

@ -297,7 +297,7 @@ impl<'a> CodeGenerator<'a> {
write!(instruction, " {argument}").expect("failed to write to string"); write!(instruction, " {argument}").expect("failed to write to string");
} }
let destination_register = get_destination_register(); 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) (destination_register, instruction)
}; };