From d34f5050cb65ee5abae0ed9c9623508dbc51e47d Mon Sep 17 00:00:00 2001 From: Brian Carroll Date: Sun, 14 Nov 2021 13:35:25 +0000 Subject: [PATCH] formatting --- compiler/gen_wasm/src/wasm_module/code_builder.rs | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/compiler/gen_wasm/src/wasm_module/code_builder.rs b/compiler/gen_wasm/src/wasm_module/code_builder.rs index 660f612bdf..5468784926 100644 --- a/compiler/gen_wasm/src/wasm_module/code_builder.rs +++ b/compiler/gen_wasm/src/wasm_module/code_builder.rs @@ -63,11 +63,15 @@ struct VmBlock<'a> { impl std::fmt::Debug for VmBlock<'_> { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - f.write_fmt(format_args!("{:?} {}", self.opcode, if self.has_result { - "Result" - } else { - "NoResult" - })) + f.write_fmt(format_args!( + "{:?} {}", + self.opcode, + if self.has_result { + "Result" + } else { + "NoResult" + } + )) } }