Fix clippy warning
This commit is contained in:
parent
54bb358cca
commit
9b947901b9
@ -224,7 +224,7 @@ pub fn expand_derive_entity_model(data: Data, attrs: Vec<Attribute>) -> syn::Res
|
||||
})
|
||||
.unwrap_or_default();
|
||||
|
||||
return Ok(quote! {
|
||||
Ok(quote! {
|
||||
#[derive(Copy, Clone, Debug, sea_orm::prelude::EnumIter, sea_orm::prelude::DeriveColumn)]
|
||||
pub enum Column {
|
||||
#columns_enum
|
||||
@ -243,5 +243,5 @@ pub fn expand_derive_entity_model(data: Data, attrs: Vec<Attribute>) -> syn::Res
|
||||
#entity_def
|
||||
|
||||
#primary_key
|
||||
});
|
||||
})
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user