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:
commit
76392fbaf3
1 changed files with 1 additions and 1 deletions
|
|
@ -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(),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue