From 741dc2bad5a6804d024a5b2975859a23a50e1c85 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Fri, 30 Jun 2017 10:21:46 -0700 Subject: [PATCH] Track `iterator_for_each` in #42986 --- .../unstable-book/src/library-features/iterator-for-each.md | 4 ++-- src/libcore/iter/iterator.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/doc/unstable-book/src/library-features/iterator-for-each.md b/src/doc/unstable-book/src/library-features/iterator-for-each.md index 72fdac5e40dfa..ebeb5f6a1de51 100644 --- a/src/doc/unstable-book/src/library-features/iterator-for-each.md +++ b/src/doc/unstable-book/src/library-features/iterator-for-each.md @@ -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 ------------------------ diff --git a/src/libcore/iter/iterator.rs b/src/libcore/iter/iterator.rs index 26660cb3331ab..d9887094fefb2 100644 --- a/src/libcore/iter/iterator.rs +++ b/src/libcore/iter/iterator.rs @@ -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(self, mut f: F) where Self: Sized, F: FnMut(Self::Item), {