Rollup merge of #90302 - GuillaumeGomez:rm-unneeded-into_iter, r=jyn514

Remove unneeded into_iter

As ``@camelid`` mentionned [here](https://github.com/rust-lang/rust/pull/89430#discussion_r735889324), the `into_iter` was unneeded.

r? ``@camelid``
This commit is contained in:
Matthias Krüger 2021-10-26 19:32:44 +02:00 committed by GitHub
commit 76392fbaf3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -412,7 +412,7 @@ impl FromWithTcx<clean::Type> for Type {
.map(|t| {
clean::GenericBound::TraitBound(t, rustc_hir::TraitBoundModifier::None)
})
.chain(lt.into_iter().map(clean::GenericBound::Outlives))
.chain(lt.map(clean::GenericBound::Outlives))
.map(|bound| bound.into_tcx(tcx))
.collect(),
}