@@ -2159,7 +2159,7 @@ pub struct Arguments {
2159
2159
pub values : Vec < Argument > ,
2160
2160
}
2161
2161
2162
- impl < ' a > Clean < Arguments > for ( & ' a [ P < hir:: Ty > ] , & ' a [ Spanned < ast:: Name > ] ) {
2162
+ impl < ' a > Clean < Arguments > for ( & ' a [ hir:: Ty ] , & ' a [ Spanned < ast:: Name > ] ) {
2163
2163
fn clean ( & self , cx : & DocContext ) -> Arguments {
2164
2164
Arguments {
2165
2165
values : self . 0 . iter ( ) . enumerate ( ) . map ( |( i, ty) | {
@@ -2177,7 +2177,7 @@ impl<'a> Clean<Arguments> for (&'a [P<hir::Ty>], &'a [Spanned<ast::Name>]) {
2177
2177
}
2178
2178
}
2179
2179
2180
- impl < ' a > Clean < Arguments > for ( & ' a [ P < hir:: Ty > ] , hir:: BodyId ) {
2180
+ impl < ' a > Clean < Arguments > for ( & ' a [ hir:: Ty ] , hir:: BodyId ) {
2181
2181
fn clean ( & self , cx : & DocContext ) -> Arguments {
2182
2182
let body = cx. tcx . hir . body ( self . 1 ) ;
2183
2183
@@ -2193,7 +2193,7 @@ impl<'a> Clean<Arguments> for (&'a [P<hir::Ty>], hir::BodyId) {
2193
2193
}
2194
2194
2195
2195
impl < ' a , A : Copy > Clean < FnDecl > for ( & ' a hir:: FnDecl , A )
2196
- where ( & ' a [ P < hir:: Ty > ] , A ) : Clean < Arguments >
2196
+ where ( & ' a [ hir:: Ty ] , A ) : Clean < Arguments >
2197
2197
{
2198
2198
fn clean ( & self , cx : & DocContext ) -> FnDecl {
2199
2199
FnDecl {
@@ -2929,7 +2929,7 @@ impl Clean<Type> for hir::Ty {
2929
2929
}
2930
2930
} ) ;
2931
2931
if let Some ( ty) = type_. cloned ( ) {
2932
- ty_substs. insert ( ty_param_def, ty. into_inner ( ) . clean ( cx) ) ;
2932
+ ty_substs. insert ( ty_param_def, ty. clean ( cx) ) ;
2933
2933
} else if let Some ( default) = default. clone ( ) {
2934
2934
ty_substs. insert ( ty_param_def,
2935
2935
default. into_inner ( ) . clean ( cx) ) ;
0 commit comments