Remove FusedIterator implementation of iter::Scan

Fixes #41964.

This is a breaking change.
This commit is contained in:
Tobias Bucher 2017-05-15 16:17:37 +02:00
parent ac254fbe79
commit a7d91ef2fe

View file

@ -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.
///