Skip to content

Commit

Permalink
Fixed incorrect clone implmentation
Browse files Browse the repository at this point in the history
  • Loading branch information
myOmikron committed Sep 8, 2023
1 parent 37a9c74 commit ebd6bfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rorm-macro/src/generate/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ fn generate_fields(model: &AnalyzedModel) -> TokenStream {
#vis struct #unit;
impl ::std::clone::Clone for #unit {
fn clone(&self) -> Self {
Self
*self
}
}
impl ::std::marker::Copy for #unit {}
Expand Down

0 comments on commit ebd6bfe

Please sign in to comment.