File tree 1 file changed +2
-8
lines changed
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>(
2257
2257
) -> TypeBinding {
2258
2258
TypeBinding {
2259
2259
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 {
2267
2261
hir:: TypeBindingKind :: Equality { ref term } => {
2268
2262
TypeBindingKind :: Equality { term : clean_hir_term ( term, cx) }
2269
2263
}
2270
2264
hir:: TypeBindingKind :: Constraint { bounds } => TypeBindingKind :: Constraint {
2271
2265
bounds : bounds. iter ( ) . filter_map ( |b| b. clean ( cx) ) . collect ( ) ,
2272
2266
} ,
2273
- }
2267
+ } ,
2274
2268
}
2275
2269
}
You can’t perform that action at this time.
0 commit comments