@@ -2150,7 +2150,7 @@ pub struct Arguments {
2150
2150
pub values : Vec < Argument > ,
2151
2151
}
2152
2152
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 > ] ) {
2154
2154
fn clean ( & self , cx : & DocContext ) -> Arguments {
2155
2155
Arguments {
2156
2156
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>]) {
2168
2168
}
2169
2169
}
2170
2170
2171
- impl < ' a > Clean < Arguments > for ( & ' a [ P < hir:: Ty > ] , hir:: BodyId ) {
2171
+ impl < ' a > Clean < Arguments > for ( & ' a [ hir:: Ty ] , hir:: BodyId ) {
2172
2172
fn clean ( & self , cx : & DocContext ) -> Arguments {
2173
2173
let body = cx. tcx . hir . body ( self . 1 ) ;
2174
2174
@@ -2184,7 +2184,7 @@ impl<'a> Clean<Arguments> for (&'a [P<hir::Ty>], hir::BodyId) {
2184
2184
}
2185
2185
2186
2186
impl < ' 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 >
2188
2188
{
2189
2189
fn clean ( & self , cx : & DocContext ) -> FnDecl {
2190
2190
FnDecl {
@@ -2926,7 +2926,7 @@ impl Clean<Type> for hir::Ty {
2926
2926
}
2927
2927
} ) ;
2928
2928
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) ) ;
2930
2930
} else if let Some ( default) = default. clone ( ) {
2931
2931
ty_substs. insert ( ty_param_def,
2932
2932
default. into_inner ( ) . clean ( cx) ) ;
0 commit comments