Skip to content

Commit

Permalink
Rollup merge of rust-lang#42014 - tbu-:pr_scan_not_fused, r=alexcrichton
Browse files Browse the repository at this point in the history
Remove `FusedIterator` implementation of `iter::Scan`

Fixes rust-lang#41964.

This is a breaking change.
  • Loading branch information
Mark-Simulacrum authored May 26, 2017
2 parents 2db17c8 + a7d91ef commit babc2a0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/libcore/iter/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
///
Expand Down

0 comments on commit babc2a0

Please sign in to comment.