Skip to content

Commit

Permalink
refactor(ast_codegen): add line break to generated code (#4829)
Browse files Browse the repository at this point in the history
Follow-on after #4819. Style nit. Add a line break after `#![allow(...)]`.
  • Loading branch information
overlookmotel committed Aug 11, 2024
1 parent 0ea697b commit ecfa124
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions crates/oxc_ast/src/generated/derive_clone_in.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// To edit this generated file you have to edit `tasks/ast_codegen/src/generators/derive_clone_in.rs`

#![allow(clippy::default_trait_access)]

use oxc_allocator::{Allocator, CloneIn};

#[allow(clippy::wildcard_imports)]
Expand Down
1 change: 1 addition & 0 deletions tasks/ast_codegen/src/generators/derive_clone_in.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ impl Generator for DeriveCloneIn {

#![allow(clippy::default_trait_access)]

///@@line_break
use oxc_allocator::{Allocator, CloneIn};

///@@line_break
Expand Down

0 comments on commit ecfa124

Please sign in to comment.