mirror of
https://codeberg.org/icewind/bitbuffer.git
synced 2026-06-04 00:54:07 +02:00
clippy fixes
This commit is contained in:
parent
042a6a621b
commit
834c3f2f95
9 changed files with 57 additions and 68 deletions
|
|
@ -26,7 +26,7 @@ pub fn derive_encode_enum(params: &EnumParam, unchecked: bool) -> TokenStream {
|
|||
Ok(#ident::#variant_name)
|
||||
},
|
||||
VariantBody::Fields(fields) => {
|
||||
read_struct_or_enum(&variant_path, fields, span.clone(), unchecked)
|
||||
read_struct_or_enum(&variant_path, fields, span, unchecked)
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue