From 6ebb42dbd7905ca23298e10388b0d6e775ea66d4 Mon Sep 17 00:00:00 2001 From: Boshen Date: Fri, 24 Nov 2023 10:24:00 +0800 Subject: [PATCH] fix(ast): remove debug_assertions from `debug_name` --- crates/oxc_ast/src/ast_kind.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/oxc_ast/src/ast_kind.rs b/crates/oxc_ast/src/ast_kind.rs index 7b2c7fef0..f89af714c 100644 --- a/crates/oxc_ast/src/ast_kind.rs +++ b/crates/oxc_ast/src/ast_kind.rs @@ -458,7 +458,6 @@ impl<'a> GetSpan for AstKind<'a> { } } -#[cfg(debug_assertions)] impl<'a> AstKind<'a> { #[allow(clippy::match_same_arms)] /// Get the AST kind name with minimal details. Particularly useful for