Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Feb 22, 2024
1 parent 91727a8 commit 1f53c06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/swc_visit_macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2420,7 +2420,7 @@ fn create_method_sig(mode: Mode, ty: &Type) -> Signature {
return mk_exact(mode, ident, &parse_quote!(Option<&#arg>));
}
Mode::Visit(VisitorVariant::WithPath) => {
return mk_exact(mode, ident, &parse_quote!(Option<&'ast arg>));
return mk_exact(mode, ident, &parse_quote!(Option<&'ast #arg>));
}
}
}
Expand Down

0 comments on commit 1f53c06

Please sign in to comment.