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 authored Jun 30, 2017
2 parents 953d679 + 741dc2b commit bda06de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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 bda06de

Please sign in to comment.