Skip to content

Commit cdee839

Browse files
Remove unneeded into_iter
1 parent 1b61b1b commit cdee839

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/json/conversions.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ impl FromWithTcx<clean::Type> for Type {
412412
.map(|t| {
413413
clean::GenericBound::TraitBound(t, rustc_hir::TraitBoundModifier::None)
414414
})
415-
.chain(lt.into_iter().map(clean::GenericBound::Outlives))
415+
.chain(lt.map(clean::GenericBound::Outlives))
416416
.map(|bound| bound.into_tcx(tcx))
417417
.collect(),
418418
}

0 commit comments

Comments
 (0)