Remove unneeded into_iter
This commit is contained in:
parent
1b61b1b445
commit
cdee839696
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
Reference in a new issue