Skip to content

Commit a7d91ef

Browse files
committed
Remove FusedIterator implementation of iter::Scan
Fixes rust-lang#41964. This is a breaking change.
1 parent ac254fb commit a7d91ef

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/libcore/iter/mod.rs

-4
Original file line numberDiff line numberDiff line change
@@ -1778,10 +1778,6 @@ impl<B, I, St, F> Iterator for Scan<I, St, F> where
17781778
}
17791779
}
17801780

1781-
#[unstable(feature = "fused", issue = "35602")]
1782-
impl<B, I, St, F> FusedIterator for Scan<I, St, F>
1783-
where I: FusedIterator, F: FnMut(&mut St, I::Item) -> Option<B> {}
1784-
17851781
/// An iterator that maps each element to an iterator, and yields the elements
17861782
/// of the produced iterators.
17871783
///

0 commit comments

Comments
 (0)