Skip to content

Commit 76392fb

Browse files
authored
Rollup merge of #90302 - GuillaumeGomez:rm-unneeded-into_iter, r=jyn514
Remove unneeded into_iter As ``@camelid`` mentionned [here](#89430 (comment)), the `into_iter` was unneeded. r? ``@camelid``
2 parents 8871fe8 + cdee839 commit 76392fb

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)