Skip to content

Commit

Permalink
Rollup merge of rust-lang#42987 - cuviper:iterator_for_each, r=Mark-S…
Browse files Browse the repository at this point in the history
…imulacrum

Track `iterator_for_each` in rust-lang#42986

None
  • Loading branch information
GuillaumeGomez committed Jun 30, 2017
2 parents 209281e + 741dc2b commit ed22c81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
@@ -1,8 +1,8 @@
# `iterator_for_each`

The tracking issue for this feature is: [#TBD]
The tracking issue for this feature is: [#42986]

[#TBD]: https://github.com/rust-lang/rust/issues/TBD
[#42986]: https://github.com/rust-lang/rust/issues/42986

------------------------

Expand Down
2 changes: 1 addition & 1 deletion src/libcore/iter/iterator.rs
Expand Up @@ -522,7 +522,7 @@ pub trait Iterator {
/// .for_each(|(i, x)| println!("{}:{}", i, x));
/// ```
#[inline]
#[unstable(feature = "iterator_for_each", issue = "0")]
#[unstable(feature = "iterator_for_each", issue = "42986")]
fn for_each<F>(self, mut f: F) where
Self: Sized, F: FnMut(Self::Item),
{
Expand Down

0 comments on commit ed22c81

Please sign in to comment.