We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31ae4f9 commit 37fa6f8Copy full SHA for 37fa6f8
src/librustdoc/clean/mod.rs
@@ -2756,7 +2756,7 @@ impl<'tcx> Clean<Type> for Ty<'tcx> {
2756
let predicates_of = cx.tcx.predicates_of(def_id);
2757
let substs = cx.tcx.lift(&substs).unwrap();
2758
let bounds = predicates_of.instantiate(cx.tcx, substs);
2759
- ImplTrait(bounds.predicates.into_iter().filter_map(|predicate| {
+ ImplTrait(bounds.predicates.iter().filter_map(|predicate| {
2760
predicate.to_opt_poly_trait_ref().clean(cx)
2761
}).collect())
2762
}
0 commit comments