From ac310e6643872b7e0553d3c8a3357c835c335916 Mon Sep 17 00:00:00 2001 From: Marijn Schouten Date: Wed, 28 Sep 2022 14:52:59 +0200 Subject: [PATCH] Update result.rs Remove a FIXME whose code got moved away in https://github.com/rust-lang/rust/pull/62883. --- library/core/src/result.rs | 3 --- 1 file changed, 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> FromIterator> for Result { /// so the final value of `shared` is 6 (= `3 + 2 + 1`), not 16. #[inline] fn from_iter>>(iter: I) -> Result { - // FIXME(#11084): This could be replaced with Iterator::scan when this - // performance bug is closed. - iter::try_process(iter.into_iter(), |i| i.collect()) } }