From d2b70cd5cdf1555ba4f0e743f7dbcc60273c9746 Mon Sep 17 00:00:00 2001 From: Padraic Fanning Date: Fri, 12 Feb 2021 16:23:06 -0500 Subject: [PATCH] Run rustfmt --- 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);