Skip to content

Commit

Permalink
Update result.rs
Browse files Browse the repository at this point in the history
Remove a FIXME whose code got moved away in rust-lang#62883.
  • Loading branch information
hkBst authored Sep 28, 2022
1 parent 6201eab commit ac310e6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions library/core/src/result.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2066,9 +2066,6 @@ impl<A, E, V: FromIterator<A>> FromIterator<Result<A, E>> for Result<V, E> {
/// so the final value of `shared` is 6 (= `3 + 2 + 1`), not 16.
#[inline]
fn from_iter<I: IntoIterator<Item = Result<A, E>>>(iter: I) -> Result<V, E> {
// FIXME(#11084): This could be replaced with Iterator::scan when this
// performance bug is closed.

iter::try_process(iter.into_iter(), |i| i.collect())
}
}
Expand Down

0 comments on commit ac310e6

Please sign in to comment.