Skip to content

Commit ac310e6

Browse files
authored
Update result.rs
Remove a FIXME whose code got moved away in rust-lang#62883.
1 parent 6201eab commit ac310e6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

library/core/src/result.rs

-3
Original file line numberDiff line numberDiff line change
@@ -2066,9 +2066,6 @@ impl<A, E, V: FromIterator<A>> FromIterator<Result<A, E>> for Result<V, E> {
20662066
/// so the final value of `shared` is 6 (= `3 + 2 + 1`), not 16.
20672067
#[inline]
20682068
fn from_iter<I: IntoIterator<Item = Result<A, E>>>(iter: I) -> Result<V, E> {
2069-
// FIXME(#11084): This could be replaced with Iterator::scan when this
2070-
// performance bug is closed.
2071-
20722069
iter::try_process(iter.into_iter(), |i| i.collect())
20732070
}
20742071
}

0 commit comments

Comments
 (0)