From 55eb06ecc208813cf3305c268926f7c6c585dc08 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 7 Nov 2019 07:38:35 -0800 Subject: [PATCH] Reformat with new stable rustfmt Fixes CI! --- lightbeam/src/microwasm.rs | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/lightbeam/src/microwasm.rs b/lightbeam/src/microwasm.rs index 6d485de51c..dd304e03ef 100644 --- a/lightbeam/src/microwasm.rs +++ b/lightbeam/src/microwasm.rs @@ -1179,8 +1179,12 @@ where sig!((ty) -> (ty)) } - WasmOperator::GetGlobal { global_index } => sig!(() -> (self.module.global_type(*global_index).to_microwasm_type())), - WasmOperator::SetGlobal { global_index } => sig!((self.module.global_type(*global_index).to_microwasm_type()) -> ()), + WasmOperator::GetGlobal { global_index } => { + sig!(() -> (self.module.global_type(*global_index).to_microwasm_type())) + } + WasmOperator::SetGlobal { global_index } => { + sig!((self.module.global_type(*global_index).to_microwasm_type()) -> ()) + } WasmOperator::F32Load { .. } => sig!((I32) -> (F32)), WasmOperator::F64Load { .. } => sig!((I32) -> (F64)), @@ -1259,8 +1263,12 @@ where | WasmOperator::F64Le | WasmOperator::F64Ge => sig!((F64, F64) -> (I32)), - WasmOperator::I32Clz | WasmOperator::I32Ctz | WasmOperator::I32Popcnt => sig!((I32) -> (I32)), - WasmOperator::I64Clz | WasmOperator::I64Ctz | WasmOperator::I64Popcnt => sig!((I64) -> (I64)), + WasmOperator::I32Clz | WasmOperator::I32Ctz | WasmOperator::I32Popcnt => { + sig!((I32) -> (I32)) + } + WasmOperator::I64Clz | WasmOperator::I64Ctz | WasmOperator::I64Popcnt => { + sig!((I64) -> (I64)) + } WasmOperator::I32Add | WasmOperator::I32Sub