mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
Remove unneeded into_iter
This commit is contained in:
parent
1b61b1b445
commit
cdee839696
@ -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…
Reference in New Issue
Block a user