Skip to content

Commit 81abaa7

Browse files
committed
Run formatter
1 parent 828bfb0 commit 81abaa7

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

compiler-core/src/javascript/decision.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -398,9 +398,11 @@ impl<'a> CasePrinter<'_, '_, 'a, '_> {
398398
// counter must not be reset or later code could redeclare
399399
// one of the `$N` variables introduced here.
400400
let old_scope = match &self.kind {
401-
DecisionKind::Case { .. } => {
402-
self.variables.expression_generator.current_scope_vars.clone()
403-
}
401+
DecisionKind::Case { .. } => self
402+
.variables
403+
.expression_generator
404+
.current_scope_vars
405+
.clone(),
404406
DecisionKind::LetAssert { .. } => Default::default(),
405407
};
406408
let old_names = self.variables.scoped_variable_names.clone();

0 commit comments

Comments
 (0)