From 97e99bd167635e422153b3ceb492e5396ab77b3f Mon Sep 17 00:00:00 2001 From: overlookmotel <557937+overlookmotel@users.noreply.github.com> Date: Sun, 8 Sep 2024 08:57:01 +0000 Subject: [PATCH] style(traverse): remove excess line break (#5603) --- crates/oxc_traverse/src/context/scoping.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/oxc_traverse/src/context/scoping.rs b/crates/oxc_traverse/src/context/scoping.rs index 0373deea8..199f0f273 100644 --- a/crates/oxc_traverse/src/context/scoping.rs +++ b/crates/oxc_traverse/src/context/scoping.rs @@ -526,7 +526,6 @@ fn create_uid_name_base(name: &str) -> CompactString { } // SAFETY: We started with a valid UTF8 `&str` and have only trimmed off ASCII characters, // so remainder must still be valid UTF8 - let name = unsafe { str::from_utf8_unchecked(bytes) }; // Create `CompactString` prepending name with `_`, and with 1 byte excess capacity.