remove unnecessary generics

This commit is contained in:
Christian Poveda 2022-05-18 10:55:35 -05:00
parent 952121933e
commit 7e9be9240c
No known key found for this signature in database
GPG Key ID: 27525EF5E7420A50

View File

@ -360,10 +360,10 @@ impl SessionDiagnosticDeriveBuilder {
Ok(tokens.drain(..).collect()) Ok(tokens.drain(..).collect())
} }
fn generate_field_attrs_code<'a>( fn generate_field_attrs_code(
&'a mut self, &mut self,
attrs: &'a [syn::Attribute], attrs: &[syn::Attribute],
info: FieldInfo<'a>, info: FieldInfo<'_>,
) -> TokenStream { ) -> TokenStream {
let field_binding = &info.binding.binding; let field_binding = &info.binding.binding;