Skip to content

Commit ed22c81

Browse files
Rollup merge of rust-lang#42987 - cuviper:iterator_for_each, r=Mark-Simulacrum
Track `iterator_for_each` in rust-lang#42986 None
2 parents 209281e + 741dc2b commit ed22c81

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/doc/unstable-book/src/library-features/iterator-for-each.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# `iterator_for_each`
22

3-
The tracking issue for this feature is: [#TBD]
3+
The tracking issue for this feature is: [#42986]
44

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

77
------------------------
88

src/libcore/iter/iterator.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ pub trait Iterator {
522522
/// .for_each(|(i, x)| println!("{}:{}", i, x));
523523
/// ```
524524
#[inline]
525-
#[unstable(feature = "iterator_for_each", issue = "0")]
525+
#[unstable(feature = "iterator_for_each", issue = "42986")]
526526
fn for_each<F>(self, mut f: F) where
527527
Self: Sized, F: FnMut(Self::Item),
528528
{

0 commit comments

Comments
 (0)