Skip to content

Commit c732446

Browse files
committed
Auto merge of #42014 - tbu-:pr_scan_not_fused, r=alexcrichton
Remove `FusedIterator` implementation of `iter::Scan` Fixes #41964. This is a breaking change.
2 parents 2f278c5 + a7d91ef commit c732446

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
@@ -1813,10 +1813,6 @@ impl<B, I, St, F> Iterator for Scan<I, St, F> where
18131813
}
18141814
}
18151815

1816-
#[unstable(feature = "fused", issue = "35602")]
1817-
impl<B, I, St, F> FusedIterator for Scan<I, St, F>
1818-
where I: FusedIterator, F: FnMut(&mut St, I::Item) -> Option<B> {}
1819-
18201816
/// An iterator that maps each element to an iterator, and yields the elements
18211817
/// of the produced iterators.
18221818
///

0 commit comments

Comments
 (0)