Skip to content

Commit

Permalink
Remove FusedIterator implementation of iter::Scan
Browse files Browse the repository at this point in the history
Fixes #41964.

This is a breaking change.
  • Loading branch information
tbu- committed May 15, 2017
1 parent ac254fb commit a7d91ef
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/libcore/iter/mod.rs
Expand Up @@ -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.
///
Expand Down

0 comments on commit a7d91ef

Please sign in to comment.