Skip to content

Commit 70ad879

Browse files
committed
refactor(ast): remove unnecessary lint from generated code for AstKind (oxc-project#8794)
1 parent beeda9a commit 70ad879

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

crates/oxc_ast/src/generated/ast_kind.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,6 @@ impl AstKind<'_> {
378378
}
379379

380380
impl GetSpan for AstKind<'_> {
381-
#[allow(clippy::match_same_arms)]
382381
fn span(&self) -> Span {
383382
match self {
384383
Self::BooleanLiteral(it) => it.span(),

tasks/ast_tools/src/generators/ast_kind.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ impl Generator for AstKindGenerator {
178178

179179
///@@line_break
180180
impl GetSpan for AstKind<'_> {
181-
#[allow(clippy::match_same_arms)]
182181
fn span(&self) -> Span {
183182
match self {
184183
#(#span_matches),*,

0 commit comments

Comments
 (0)