about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorTobias Bucher <tobiasbucher5991@gmail.com>2017-05-15 16:17:37 +0200
committerTobias Bucher <tobiasbucher5991@gmail.com>2017-05-15 16:21:02 +0200
commita7d91ef2fe850a438d9b2b9098af26dd304fa78e (patch)
treeb39c2ea23eac53b968758552d0cd2e7783af55cc /src/libcore
parentac254fbe7961dc78575fe8144a7049d280f06126 (diff)
downloadrust-a7d91ef2fe850a438d9b2b9098af26dd304fa78e.tar.gz
rust-a7d91ef2fe850a438d9b2b9098af26dd304fa78e.zip
Remove `FusedIterator` implementation of `iter::Scan`
Fixes #41964.

This is a breaking change.
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/iter/mod.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libcore/iter/mod.rs b/src/libcore/iter/mod.rs
index 273f9d0e6f6..fe884b3b4c1 100644
--- a/src/libcore/iter/mod.rs
+++ b/src/libcore/iter/mod.rs
@@ -1778,10 +1778,6 @@ impl<B, I, St, F> Iterator for Scan<I, St, F> where
     }
 }
 
-#[unstable(feature = "fused", issue = "35602")]
-impl<B, I, St, F> FusedIterator for Scan<I, St, F>
-    where I: FusedIterator, F: FnMut(&mut St, I::Item) -> Option<B> {}
-
 /// An iterator that maps each element to an iterator, and yields the elements
 /// of the produced iterators.
 ///