fix(ast): remove debug_assertions from debug_name

This commit is contained in:
Boshen 2023-11-24 10:24:00 +08:00
parent f4616815ea
commit 6ebb42dbd7
No known key found for this signature in database
GPG key ID: 234DA6A7079C6801

View file

@ -458,7 +458,6 @@ impl<'a> GetSpan for AstKind<'a> {
} }
} }
#[cfg(debug_assertions)]
impl<'a> AstKind<'a> { impl<'a> AstKind<'a> {
#[allow(clippy::match_same_arms)] #[allow(clippy::match_same_arms)]
/// Get the AST kind name with minimal details. Particularly useful for /// Get the AST kind name with minimal details. Particularly useful for