File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 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> {
15431543
15441544 DynTrait ( bounds, lifetime)
15451545 }
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 ( ) ) ,
15471547
15481548 ty:: Projection ( ref data) => data. clean ( cx) ,
15491549
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ fn external_generic_args(
109109
110110 if cx. tcx . fn_trait_kind_from_lang_item ( did) . is_some ( ) {
111111 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 ( ) ,
113113 _ => return GenericArgs :: AngleBracketed { args, bindings : bindings. into ( ) } ,
114114 } ;
115115 let output = None ;
You can’t perform that action at this time.
0 commit comments