mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
remove unnecessary generics
This commit is contained in:
parent
952121933e
commit
7e9be9240c
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user