Skip to content

Commit

Permalink
make sure generated code uses std Clone.
Browse files Browse the repository at this point in the history
  • Loading branch information
rzvxa committed Aug 7, 2024
1 parent 9216a0d commit 75b2eb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/oxc_ast_macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ pub fn derive_clone_in(item: TokenStream) -> TokenStream {
type Cloned = #ident;

fn clone_in(&self, _: &'alloc ::oxc_allocator::Allocator) -> Self::Cloned {
self.clone()
std::clone::Clone::clone(self)
}
}
}
Expand Down

0 comments on commit 75b2eb1

Please sign in to comment.