Skip to content

Commit

Permalink
Auto merge of #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 #41964.

This is a breaking change.
  • Loading branch information
bors committed May 26, 2017
2 parents 2f278c5 + a7d91ef commit c732446
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/libcore/iter/mod.rs
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 c732446

Please sign in to comment.