@@ -1298,7 +1298,7 @@ impl Clean<Constant> for hir::ConstArg {
1298
1298
}
1299
1299
}
1300
1300
1301
- impl < ' tcx > Clean < Lifetime > for ty:: GenericParamDef {
1301
+ impl Clean < Lifetime > for ty:: GenericParamDef {
1302
1302
fn clean ( & self , _cx : & DocContext < ' _ > ) -> Lifetime {
1303
1303
Lifetime ( self . name . to_string ( ) )
1304
1304
}
@@ -2039,7 +2039,7 @@ impl<'a, A: Copy> Clean<FnDecl> for (&'a hir::FnDecl, A)
2039
2039
}
2040
2040
}
2041
2041
2042
- impl < ' a , ' tcx > Clean < FnDecl > for ( DefId , ty:: PolyFnSig < ' tcx > ) {
2042
+ impl < ' tcx > Clean < FnDecl > for ( DefId , ty:: PolyFnSig < ' tcx > ) {
2043
2043
fn clean ( & self , cx : & DocContext < ' _ > ) -> FnDecl {
2044
2044
let ( did, sig) = * self ;
2045
2045
let mut names = if cx. tcx . hir ( ) . as_local_hir_id ( did) . is_some ( ) {
@@ -2276,7 +2276,7 @@ impl Clean<Item> for hir::ImplItem {
2276
2276
}
2277
2277
}
2278
2278
2279
- impl < ' tcx > Clean < Item > for ty:: AssocItem {
2279
+ impl Clean < Item > for ty:: AssocItem {
2280
2280
fn clean ( & self , cx : & DocContext < ' _ > ) -> Item {
2281
2281
let inner = match self . kind {
2282
2282
ty:: AssocKind :: Const => {
@@ -3174,7 +3174,7 @@ impl Clean<Item> for hir::StructField {
3174
3174
}
3175
3175
}
3176
3176
3177
- impl < ' tcx > Clean < Item > for ty:: FieldDef {
3177
+ impl Clean < Item > for ty:: FieldDef {
3178
3178
fn clean ( & self , cx : & DocContext < ' _ > ) -> Item {
3179
3179
Item {
3180
3180
name : Some ( self . ident . name ) . clean ( cx) ,
@@ -3342,7 +3342,7 @@ impl Clean<Item> for doctree::Variant {
3342
3342
}
3343
3343
}
3344
3344
3345
- impl < ' tcx > Clean < Item > for ty:: VariantDef {
3345
+ impl Clean < Item > for ty:: VariantDef {
3346
3346
fn clean ( & self , cx : & DocContext < ' _ > ) -> Item {
3347
3347
let kind = match self . ctor_kind {
3348
3348
CtorKind :: Const => VariantKind :: CLike ,
0 commit comments