@@ -372,15 +372,15 @@ impl<'a> CodegenResult<'a> {
372372 }
373373}
374374
375- impl < ' a > ops:: Deref for CodegenResult < ' a > {
375+ impl ops:: Deref for CodegenResult < ' _ > {
376376 type Target = Vec < proc_macro2:: TokenStream > ;
377377
378378 fn deref ( & self ) -> & Self :: Target {
379379 & self . items
380380 }
381381}
382382
383- impl < ' a > ops:: DerefMut for CodegenResult < ' a > {
383+ impl ops:: DerefMut for CodegenResult < ' _ > {
384384 fn deref_mut ( & mut self ) -> & mut Self :: Target {
385385 & mut self . items
386386 }
@@ -727,7 +727,7 @@ impl CodeGenerator for Var {
727727 if let Some ( cstr) = cstr {
728728 let cstr_ty = quote ! { :: #prefix:: ffi:: CStr } ;
729729 if rust_features. literal_cstr {
730- let cstr = proc_macro2:: Literal :: c_string ( & cstr) ;
730+ let cstr = proc_macro2:: Literal :: c_string ( cstr) ;
731731 result. push ( quote ! {
732732 #( #attrs) *
733733 pub const #canonical_ident: & #cstr_ty = #cstr;
@@ -1165,7 +1165,7 @@ impl<'a> Vtable<'a> {
11651165 }
11661166}
11671167
1168- impl < ' a > CodeGenerator for Vtable < ' a > {
1168+ impl CodeGenerator for Vtable < ' _ > {
11691169 type Extra = Item ;
11701170 type Return = ( ) ;
11711171
@@ -1243,13 +1243,13 @@ impl<'a> CodeGenerator for Vtable<'a> {
12431243 }
12441244}
12451245
1246- impl < ' a > ItemCanonicalName for Vtable < ' a > {
1246+ impl ItemCanonicalName for Vtable < ' _ > {
12471247 fn canonical_name ( & self , ctx : & BindgenContext ) -> String {
12481248 format ! ( "{}__bindgen_vtable" , self . item_id. canonical_name( ctx) )
12491249 }
12501250}
12511251
1252- impl < ' a > TryToRustTy for Vtable < ' a > {
1252+ impl TryToRustTy for Vtable < ' _ > {
12531253 type Extra = ( ) ;
12541254
12551255 fn try_to_rust_ty (
@@ -1375,7 +1375,7 @@ trait FieldCodegen<'a> {
13751375 M : Extend < proc_macro2:: TokenStream > ;
13761376}
13771377
1378- impl < ' a > FieldCodegen < ' a > for Field {
1378+ impl FieldCodegen < ' _ > for Field {
13791379 type Extra = ( ) ;
13801380
13811381 fn codegen < F , M > (
@@ -1453,7 +1453,7 @@ fn wrap_union_field_if_needed(
14531453 }
14541454}
14551455
1456- impl < ' a > FieldCodegen < ' a > for FieldData {
1456+ impl FieldCodegen < ' _ > for FieldData {
14571457 type Extra = ( ) ;
14581458
14591459 fn codegen < F , M > (
@@ -1713,7 +1713,7 @@ fn compute_visibility(
17131713 } )
17141714}
17151715
1716- impl < ' a > FieldCodegen < ' a > for BitfieldUnit {
1716+ impl FieldCodegen < ' _ > for BitfieldUnit {
17171717 type Extra = ( ) ;
17181718
17191719 fn codegen < F , M > (
0 commit comments