File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -2257,19 +2257,13 @@ fn clean_type_binding<'tcx>(
22572257) -> TypeBinding {
22582258 TypeBinding {
22592259 assoc : PathSegment { name : type_binding. ident . name , args : type_binding. gen_args . clean ( cx) } ,
2260- kind : type_binding. kind . clean ( cx) ,
2261- }
2262- }
2263-
2264- impl < ' tcx > Clean < ' tcx , TypeBindingKind > for hir:: TypeBindingKind < ' tcx > {
2265- fn clean ( & self , cx : & mut DocContext < ' tcx > ) -> TypeBindingKind {
2266- match * self {
2260+ kind : match type_binding. kind {
22672261 hir:: TypeBindingKind :: Equality { ref term } => {
22682262 TypeBindingKind :: Equality { term : clean_hir_term ( term, cx) }
22692263 }
22702264 hir:: TypeBindingKind :: Constraint { bounds } => TypeBindingKind :: Constraint {
22712265 bounds : bounds. iter ( ) . filter_map ( |b| b. clean ( cx) ) . collect ( ) ,
22722266 } ,
2273- }
2267+ } ,
22742268 }
22752269}
You can’t perform that action at this time.
0 commit comments