From dc0cada1f313d258b63209b2f7772323bb401953 Mon Sep 17 00:00:00 2001 From: kenkoooo Date: Fri, 12 Feb 2021 21:56:59 +0900 Subject: [PATCH] Fix code format --- src/ir.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/ir.rs b/src/ir.rs index 081eeb8..89cecc8 100644 --- a/src/ir.rs +++ b/src/ir.rs @@ -180,9 +180,12 @@ impl CodeInfo { // we don't want to worry about Continue or Break, they use unwinding to jump to // their targets and as such the stack size is taken care of in frame.rs by setting // it back to the level it was at when SetupLoop was run - let jump_label = instr.label_arg().filter( - |_| !matches!(instr, Instruction::Continue { .. } | Instruction::Break { .. }), - ); + let jump_label = instr.label_arg().filter(|_| { + !matches!( + instr, + Instruction::Continue { .. } | Instruction::Break { .. } + ) + }); if let Some(&target_block) = jump_label { let effect = instr.stack_effect(true); let target_depth = add_ui(depth, effect);