File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1543,7 +1543,7 @@ impl<'tcx> Clean<Type> for Ty<'tcx> {
1543
1543
1544
1544
DynTrait ( bounds, lifetime)
1545
1545
}
1546
- ty:: Tuple ( t) => Tuple ( t. iter ( ) . map ( |t| t. expect_ty ( ) . clean ( cx) ) . collect ( ) ) ,
1546
+ ty:: Tuple ( t) => Tuple ( t. iter ( ) . map ( |t| t. clean ( cx) ) . collect ( ) ) ,
1547
1547
1548
1548
ty:: Projection ( ref data) => data. clean ( cx) ,
1549
1549
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ fn external_generic_args(
109
109
110
110
if cx. tcx . fn_trait_kind_from_lang_item ( did) . is_some ( ) {
111
111
let inputs = match ty_kind. unwrap ( ) {
112
- ty:: Tuple ( tys) => tys. iter ( ) . map ( |t| t. expect_ty ( ) . clean ( cx) ) . collect ( ) ,
112
+ ty:: Tuple ( tys) => tys. iter ( ) . map ( |t| t. clean ( cx) ) . collect ( ) ,
113
113
_ => return GenericArgs :: AngleBracketed { args, bindings : bindings. into ( ) } ,
114
114
} ;
115
115
let output = None ;
You can’t perform that action at this time.
0 commit comments