fix clippy
This commit is contained in:
parent
be0c85ac0b
commit
a8a35eb6db
@ -30,7 +30,7 @@ pub fn expand_derive_tosql(input: DeriveInput) -> Result<TokenStream, Error> {
|
||||
..
|
||||
}) if fields.unnamed.len() == 1 => {
|
||||
let field = fields.unnamed.first().unwrap();
|
||||
(accepts::domain_body(&name, &field), domain_body())
|
||||
(accepts::domain_body(&name, field), domain_body())
|
||||
}
|
||||
Data::Struct(DataStruct {
|
||||
fields: Fields::Named(ref fields),
|
||||
|
Loading…
Reference in New Issue
Block a user