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
|
|
@ -37,7 +37,7 @@ impl SizeHint for VariantParam {
|
|||
fn size_hint(&self) -> TokenStream {
|
||||
match &self.body {
|
||||
VariantBody::Unit => quote!(Some(0)),
|
||||
VariantBody::Fields(fields) => product_size_hint(&fields, self.span),
|
||||
VariantBody::Fields(fields) => product_size_hint(fields, self.span),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue