File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -1884,7 +1884,8 @@ impl<'tcx> Clean<'tcx, GenericArgs> for hir::GenericArgs<'tcx> {
18841884 } )
18851885 . collect :: < Vec < _ > > ( )
18861886 . into ( ) ;
1887- let bindings = self . bindings . iter ( ) . map ( |x| x. clean ( cx) ) . collect :: < Vec < _ > > ( ) . into ( ) ;
1887+ let bindings =
1888+ self . bindings . iter ( ) . map ( |x| clean_type_binding ( x, cx) ) . collect :: < Vec < _ > > ( ) . into ( ) ;
18881889 GenericArgs :: AngleBracketed { args, bindings }
18891890 }
18901891 }
@@ -2250,12 +2251,13 @@ fn clean_maybe_renamed_foreign_item<'tcx>(
22502251 } )
22512252}
22522253
2253- impl < ' tcx > Clean < ' tcx , TypeBinding > for hir:: TypeBinding < ' tcx > {
2254- fn clean ( & self , cx : & mut DocContext < ' tcx > ) -> TypeBinding {
2255- TypeBinding {
2256- assoc : PathSegment { name : self . ident . name , args : self . gen_args . clean ( cx) } ,
2257- kind : self . kind . clean ( cx) ,
2258- }
2254+ fn clean_type_binding < ' tcx > (
2255+ type_binding : & hir:: TypeBinding < ' tcx > ,
2256+ cx : & mut DocContext < ' tcx > ,
2257+ ) -> TypeBinding {
2258+ TypeBinding {
2259+ assoc : PathSegment { name : type_binding. ident . name , args : type_binding. gen_args . clean ( cx) } ,
2260+ kind : type_binding. kind . clean ( cx) ,
22592261 }
22602262}
22612263
You can’t perform that action at this time.
0 commit comments