Skip to content

Commit

Permalink
Clippy.
Browse files Browse the repository at this point in the history
  • Loading branch information
frozenlib committed Apr 24, 2022
1 parent defaea5 commit 3fc0c14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion structmeta-derive/src/struct_meta.rs
Expand Up @@ -17,7 +17,7 @@ pub fn derive_struct_meta(input: DeriveInput) -> Result<TokenStream> {
let mut args = ArgsForStruct::default();
for attr in &input.attrs {
if attr.path.is_ident("struct_meta") {
args.parse_from_attr(&attr)?;
args.parse_from_attr(attr)?;
}
}
let ps = Params::from_fields(&data.fields, &args)?;
Expand Down

0 comments on commit 3fc0c14

Please sign in to comment.