Skip to content

Commit db1a107

Browse files
committed
Fill tracking issue for iter_map_while feature
1 parent 1aff080 commit db1a107

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/libcore/iter/adapters/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1760,7 +1760,7 @@ where
17601760
/// [`map_while`]: trait.Iterator.html#method.map_while
17611761
/// [`Iterator`]: trait.Iterator.html
17621762
#[must_use = "iterators are lazy and do nothing unless consumed"]
1763-
#[unstable(feature = "iter_map_while", reason = "recently added", issue = "none")]
1763+
#[unstable(feature = "iter_map_while", reason = "recently added", issue = "68537")]
17641764
#[derive(Clone)]
17651765
pub struct MapWhile<I, P> {
17661766
iter: I,
@@ -1774,14 +1774,14 @@ impl<I, P> MapWhile<I, P> {
17741774
}
17751775
}
17761776

1777-
#[unstable(feature = "iter_map_while", reason = "recently added", issue = "none")]
1777+
#[unstable(feature = "iter_map_while", reason = "recently added", issue = "68537")]
17781778
impl<I: fmt::Debug, P> fmt::Debug for MapWhile<I, P> {
17791779
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
17801780
f.debug_struct("MapWhile").field("iter", &self.iter).field("flag", &self.finished).finish()
17811781
}
17821782
}
17831783

1784-
#[unstable(feature = "iter_map_while", reason = "recently added", issue = "none")]
1784+
#[unstable(feature = "iter_map_while", reason = "recently added", issue = "68537")]
17851785
impl<B, I: Iterator, P> Iterator for MapWhile<I, P>
17861786
where
17871787
P: FnMut(I::Item) -> Option<B>,

src/libcore/iter/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ pub use self::adapters::Cloned;
351351
pub use self::adapters::Copied;
352352
#[stable(feature = "iterator_flatten", since = "1.29.0")]
353353
pub use self::adapters::Flatten;
354-
#[unstable(feature = "iter_map_while", reason = "recently added", issue = "none")]
354+
#[unstable(feature = "iter_map_while", reason = "recently added", issue = "68537")]
355355
pub use self::adapters::MapWhile;
356356
#[stable(feature = "iterator_step_by", since = "1.28.0")]
357357
pub use self::adapters::StepBy;

src/libcore/iter/traits/iterator.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1117,7 +1117,7 @@ pub trait Iterator {
11171117
/// [`Some`]: ../../std/option/enum.Option.html#variant.Some
11181118
/// [`None`]: ../../std/option/enum.Option.html#variant.None
11191119
#[inline]
1120-
#[unstable(feature = "iter_map_while", reason = "recently added", issue = "none")]
1120+
#[unstable(feature = "iter_map_while", reason = "recently added", issue = "68537")]
11211121
fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P>
11221122
where
11231123
Self: Sized,

0 commit comments

Comments
 (0)