From dd44926b64ef438d7e58200d0e3e5d2fdcf0bdef Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Fri, 17 Jan 2025 08:01:23 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- crates/oxc_mangler/src/lib.rs | 2 +- crates/oxc_traverse/src/context/scoping.rs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/oxc_mangler/src/lib.rs b/crates/oxc_mangler/src/lib.rs index 5aae8e3c65b80..e6c40c05c948d 100644 --- a/crates/oxc_mangler/src/lib.rs +++ b/crates/oxc_mangler/src/lib.rs @@ -1,5 +1,5 @@ -use std::ops::Deref; use std::iter; +use std::ops::Deref; use compact_str::CompactString; use fixedbitset::FixedBitSet; diff --git a/crates/oxc_traverse/src/context/scoping.rs b/crates/oxc_traverse/src/context/scoping.rs index 014bdfc2af9f0..f702bb5ade1f4 100644 --- a/crates/oxc_traverse/src/context/scoping.rs +++ b/crates/oxc_traverse/src/context/scoping.rs @@ -306,7 +306,8 @@ impl TraverseScoping { symbol_id: SymbolId, flags: ReferenceFlags, ) -> ReferenceId { - let reference = Reference::new_with_symbol_id(NodeId::DUMMY, self.current_scope_id, symbol_id, flags); + let reference = + Reference::new_with_symbol_id(NodeId::DUMMY, self.current_scope_id, symbol_id, flags); let reference_id = self.symbols.create_reference(reference); self.symbols.add_resolved_reference(symbol_id, reference_id); reference_id