diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-10-02 03:16:39 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-02 03:16:39 +0200 |
| commit | baba8391c30e6dfdbc712dc5be6693886677ffe3 (patch) | |
| tree | 5edc044ba59242176f16cba016952c9152ede967 | |
| parent | 20559c41e8bee46704b7d44843349f6c0e454da2 (diff) | |
| parent | ac310e6643872b7e0553d3c8a3357c835c335916 (diff) | |
| download | rust-baba8391c30e6dfdbc712dc5be6693886677ffe3.tar.gz rust-baba8391c30e6dfdbc712dc5be6693886677ffe3.zip | |
Rollup merge of #102405 - hkBst:patch-3, r=Mark-Simulacrum
Remove a FIXME whose code got moved away in #62883. Remove a FIXME whose code got moved away in https://github.com/rust-lang/rust/pull/62883.
| -rw-r--r-- | library/core/src/result.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/library/core/src/result.rs b/library/core/src/result.rs index dc90e90402c..41fcb14d42b 100644 --- a/library/core/src/result.rs +++ b/library/core/src/result.rs @@ -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()) } } |
