diff --git a/src/libcore/iter/adapters/mod.rs b/src/libcore/iter/adapters/mod.rs index 6ef4a49434002..7d10ef3d28219 100644 --- a/src/libcore/iter/adapters/mod.rs +++ b/src/libcore/iter/adapters/mod.rs @@ -1760,7 +1760,7 @@ where /// [`map_while`]: trait.Iterator.html#method.map_while /// [`Iterator`]: trait.Iterator.html #[must_use = "iterators are lazy and do nothing unless consumed"] -#[unstable(feature = "iter_map_while", reason = "recently added", issue = "none")] +#[unstable(feature = "iter_map_while", reason = "recently added", issue = "68537")] #[derive(Clone)] pub struct MapWhile { iter: I, @@ -1774,14 +1774,14 @@ impl MapWhile { } } -#[unstable(feature = "iter_map_while", reason = "recently added", issue = "none")] +#[unstable(feature = "iter_map_while", reason = "recently added", issue = "68537")] impl fmt::Debug for MapWhile { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { f.debug_struct("MapWhile").field("iter", &self.iter).field("flag", &self.finished).finish() } } -#[unstable(feature = "iter_map_while", reason = "recently added", issue = "none")] +#[unstable(feature = "iter_map_while", reason = "recently added", issue = "68537")] impl Iterator for MapWhile where P: FnMut(I::Item) -> Option, diff --git a/src/libcore/iter/mod.rs b/src/libcore/iter/mod.rs index c9f5e77d14b3e..d8a56cb3ae515 100644 --- a/src/libcore/iter/mod.rs +++ b/src/libcore/iter/mod.rs @@ -351,7 +351,7 @@ pub use self::adapters::Cloned; pub use self::adapters::Copied; #[stable(feature = "iterator_flatten", since = "1.29.0")] pub use self::adapters::Flatten; -#[unstable(feature = "iter_map_while", reason = "recently added", issue = "none")] +#[unstable(feature = "iter_map_while", reason = "recently added", issue = "68537")] pub use self::adapters::MapWhile; #[stable(feature = "iterator_step_by", since = "1.28.0")] pub use self::adapters::StepBy; diff --git a/src/libcore/iter/traits/iterator.rs b/src/libcore/iter/traits/iterator.rs index 6bb92099ced51..1d055676c7708 100644 --- a/src/libcore/iter/traits/iterator.rs +++ b/src/libcore/iter/traits/iterator.rs @@ -1117,7 +1117,7 @@ pub trait Iterator { /// [`Some`]: ../../std/option/enum.Option.html#variant.Some /// [`None`]: ../../std/option/enum.Option.html#variant.None #[inline] - #[unstable(feature = "iter_map_while", reason = "recently added", issue = "none")] + #[unstable(feature = "iter_map_while", reason = "recently added", issue = "68537")] fn map_while(self, predicate: P) -> MapWhile where Self: Sized,