@@ -2128,7 +2128,7 @@ pub struct Arguments {
2128
2128
pub values : Vec < Argument > ,
2129
2129
}
2130
2130
2131
- impl < ' a > Clean < Arguments > for ( & ' a [ P < hir:: Ty > ] , & ' a [ Spanned < ast:: Name > ] ) {
2131
+ impl < ' a > Clean < Arguments > for ( & ' a [ hir:: Ty ] , & ' a [ Spanned < ast:: Name > ] ) {
2132
2132
fn clean ( & self , cx : & DocContext ) -> Arguments {
2133
2133
Arguments {
2134
2134
values : self . 0 . iter ( ) . enumerate ( ) . map ( |( i, ty) | {
@@ -2146,7 +2146,7 @@ impl<'a> Clean<Arguments> for (&'a [P<hir::Ty>], &'a [Spanned<ast::Name>]) {
2146
2146
}
2147
2147
}
2148
2148
2149
- impl < ' a > Clean < Arguments > for ( & ' a [ P < hir:: Ty > ] , hir:: BodyId ) {
2149
+ impl < ' a > Clean < Arguments > for ( & ' a [ hir:: Ty ] , hir:: BodyId ) {
2150
2150
fn clean ( & self , cx : & DocContext ) -> Arguments {
2151
2151
let body = cx. tcx . hir . body ( self . 1 ) ;
2152
2152
@@ -2162,7 +2162,7 @@ impl<'a> Clean<Arguments> for (&'a [P<hir::Ty>], hir::BodyId) {
2162
2162
}
2163
2163
2164
2164
impl < ' a , A : Copy > Clean < FnDecl > for ( & ' a hir:: FnDecl , A )
2165
- where ( & ' a [ P < hir:: Ty > ] , A ) : Clean < Arguments >
2165
+ where ( & ' a [ hir:: Ty ] , A ) : Clean < Arguments >
2166
2166
{
2167
2167
fn clean ( & self , cx : & DocContext ) -> FnDecl {
2168
2168
FnDecl {
@@ -2874,7 +2874,7 @@ impl Clean<Type> for hir::Ty {
2874
2874
Def :: TyParam ( cx. tcx . hir . local_def_id ( ty_param. id ) ) ;
2875
2875
if let Some ( ty) = provided_params. types
2876
2876
. get ( indices. types ) . cloned ( ) {
2877
- ty_substs. insert ( ty_param_def, ty. into_inner ( ) . clean ( cx) ) ;
2877
+ ty_substs. insert ( ty_param_def, ty. clean ( cx) ) ;
2878
2878
} else if let Some ( default) = ty_param. default . clone ( ) {
2879
2879
ty_substs. insert ( ty_param_def,
2880
2880
default. into_inner ( ) . clean ( cx) ) ;
0 commit comments