diff options
| author | Marijn Schouten <hkBst@users.noreply.github.com> | 2022-09-28 14:52:59 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-28 14:52:59 +0200 |
| commit | ac310e6643872b7e0553d3c8a3357c835c335916 (patch) | |
| tree | 0703be9d074aa60b2bcfb7a6b8f6658332f658f4 | |
| parent | 6201eabde85db854c1ebb57624be5ec699246b50 (diff) | |
| download | rust-ac310e6643872b7e0553d3c8a3357c835c335916.tar.gz rust-ac310e6643872b7e0553d3c8a3357c835c335916.zip | |
Update result.rs
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()) } } |
