Auto merge of #42014 - tbu-:pr_scan_not_fused, r=alexcrichton

Remove `FusedIterator` implementation of `iter::Scan`

Fixes #41964.

This is a breaking change.
This commit is contained in:
bors 2017-05-26 12:54:11 +00:00
commit c732446edd

View File

@ -1813,10 +1813,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.
///