From a7d91ef2fe850a438d9b2b9098af26dd304fa78e Mon Sep 17 00:00:00 2001 From: Tobias Bucher Date: Mon, 15 May 2017 16:17:37 +0200 Subject: [PATCH] Remove `FusedIterator` implementation of `iter::Scan` Fixes #41964. This is a breaking change. --- src/libcore/iter/mod.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/libcore/iter/mod.rs b/src/libcore/iter/mod.rs index 273f9d0e6f6d3..fe884b3b4c1ef 100644 --- a/src/libcore/iter/mod.rs +++ b/src/libcore/iter/mod.rs @@ -1778,10 +1778,6 @@ impl Iterator for Scan where } } -#[unstable(feature = "fused", issue = "35602")] -impl FusedIterator for Scan - where I: FusedIterator, F: FnMut(&mut St, I::Item) -> Option {} - /// An iterator that maps each element to an iterator, and yields the elements /// of the produced iterators. ///