Skip to content

Commit

Permalink
fix: spelling. [no ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
rzvxa committed Apr 15, 2024
1 parent d2c86ff commit 7f36824
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/oxc_macros/src/ast_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ fn generate_traversable_struct(item: &ItemStruct) -> TokenStream2 {
let ident = format_ident!("Traversable{}", item.ident);
let generics = &item.generics;

let (outter_attrs, inner_attrs) =
let (outer_attrs, inner_attrs) =
item.attrs.iter().fold((Vec::new(), Vec::new()), |mut acc, attr| {
match &attr.style {
AttrStyle::Outer => acc.0.push(attr),
Expand All @@ -133,7 +133,7 @@ fn generate_traversable_struct(item: &ItemStruct) -> TokenStream2 {
let fields = transform_struct_fields(&item.fields);

let output = quote! {
#(#outter_attrs)*
#(#outer_attrs)*
pub struct #ident #generics {
#(#inner_attrs)*
#fields
Expand Down

0 comments on commit 7f36824

Please sign in to comment.