diff --git a/rorm-macro/src/generate/model.rs b/rorm-macro/src/generate/model.rs index f24db20..1dbfb28 100644 --- a/rorm-macro/src/generate/model.rs +++ b/rorm-macro/src/generate/model.rs @@ -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 {}