@@ -2150,7 +2150,7 @@ pub struct Arguments {
21502150 pub values : Vec < Argument > ,
21512151}
21522152
2153- impl < ' a > Clean < Arguments > for ( & ' a [ P < hir:: Ty > ] , & ' a [ Spanned < ast:: Name > ] ) {
2153+ impl < ' a > Clean < Arguments > for ( & ' a [ hir:: Ty ] , & ' a [ Spanned < ast:: Name > ] ) {
21542154 fn clean ( & self , cx : & DocContext ) -> Arguments {
21552155 Arguments {
21562156 values : self . 0 . iter ( ) . enumerate ( ) . map ( |( i, ty) | {
@@ -2168,7 +2168,7 @@ impl<'a> Clean<Arguments> for (&'a [P<hir::Ty>], &'a [Spanned<ast::Name>]) {
21682168 }
21692169}
21702170
2171- impl < ' a > Clean < Arguments > for ( & ' a [ P < hir:: Ty > ] , hir:: BodyId ) {
2171+ impl < ' a > Clean < Arguments > for ( & ' a [ hir:: Ty ] , hir:: BodyId ) {
21722172 fn clean ( & self , cx : & DocContext ) -> Arguments {
21732173 let body = cx. tcx . hir . body ( self . 1 ) ;
21742174
@@ -2184,7 +2184,7 @@ impl<'a> Clean<Arguments> for (&'a [P<hir::Ty>], hir::BodyId) {
21842184}
21852185
21862186impl < ' a , A : Copy > Clean < FnDecl > for ( & ' a hir:: FnDecl , A )
2187- where ( & ' a [ P < hir:: Ty > ] , A ) : Clean < Arguments >
2187+ where ( & ' a [ hir:: Ty ] , A ) : Clean < Arguments >
21882188{
21892189 fn clean ( & self , cx : & DocContext ) -> FnDecl {
21902190 FnDecl {
@@ -2926,7 +2926,7 @@ impl Clean<Type> for hir::Ty {
29262926 }
29272927 } ) ;
29282928 if let Some ( ty) = type_. cloned ( ) {
2929- ty_substs. insert ( ty_param_def, ty. into_inner ( ) . clean ( cx) ) ;
2929+ ty_substs. insert ( ty_param_def, ty. clean ( cx) ) ;
29302930 } else if let Some ( default) = default. clone ( ) {
29312931 ty_substs. insert ( ty_param_def,
29322932 default. into_inner ( ) . clean ( cx) ) ;
0 commit comments