about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2018-02-12 21:47:59 +0100
committerMazdak Farrokhzad <twingoow@gmail.com>2018-02-12 21:47:59 +0100
commit91a4b9044d7f104516984d1076b04b99cef7a6b9 (patch)
tree4da23f795c15902149d919ce87ed1cb0007fe4b0 /src
parent9cee79a7ff09851109f621bd4510909f5740ae28 (diff)
core::iter::repeat_with: tracking issue is #48169
Diffstat (limited to 'src')
-rw-r--r--src/libcore/iter/mod.rs2
-rw-r--r--src/libcore/iter/sources.rs8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/libcore/iter/mod.rs b/src/libcore/iter/mod.rs
index ac3fb5a57dd..d929d1d65a9 100644
--- a/src/libcore/iter/mod.rs
+++ b/src/libcore/iter/mod.rs
@@ -333,7 +333,7 @@ pub use self::range::Step;
 
 #[stable(feature = "rust1", since = "1.0.0")]
 pub use self::sources::{Repeat, repeat};
-#[unstable(feature = "iterator_repeat_with", issue = "0")]
+#[unstable(feature = "iterator_repeat_with", issue = "48169")]
 pub use self::sources::{RepeatWith, repeat_with};
 #[stable(feature = "iter_empty", since = "1.2.0")]
 pub use self::sources::{Empty, empty};
diff --git a/src/libcore/iter/sources.rs b/src/libcore/iter/sources.rs
index abf2befa9cd..eb8a22709b0 100644
--- a/src/libcore/iter/sources.rs
+++ b/src/libcore/iter/sources.rs
@@ -113,12 +113,12 @@ pub fn repeat<T: Clone>(elt: T) -> Repeat<T> {
 ///
 /// [`repeat_with`]: fn.repeat_with.html
 #[derive(Copy, Clone, Debug)]
-#[unstable(feature = "iterator_repeat_with", issue = "0")]
+#[unstable(feature = "iterator_repeat_with", issue = "48169")]
 pub struct RepeatWith<F> {
     repeater: F
 }
 
-#[unstable(feature = "iterator_repeat_with", issue = "0")]
+#[unstable(feature = "iterator_repeat_with", issue = "48169")]
 impl<A, F: FnMut() -> A> Iterator for RepeatWith<F> {
     type Item = A;
 
@@ -129,7 +129,7 @@ impl<A, F: FnMut() -> A> Iterator for RepeatWith<F> {
     fn size_hint(&self) -> (usize, Option<usize>) { (usize::MAX, None) }
 }
 
-#[unstable(feature = "iterator_repeat_with", issue = "0")]
+#[unstable(feature = "iterator_repeat_with", issue = "48169")]
 impl<A, F: FnMut() -> A> DoubleEndedIterator for RepeatWith<F> {
     #[inline]
     fn next_back(&mut self) -> Option<A> { self.next() }
@@ -209,7 +209,7 @@ unsafe impl<A, F: FnMut() -> A> TrustedLen for RepeatWith<F> {}
 /// assert_eq!(None, pow2.next());
 /// ```
 #[inline]
-#[unstable(feature = "iterator_repeat_with", issue = "0")]
+#[unstable(feature = "iterator_repeat_with", issue = "48169")]
 pub fn repeat_with<A, F: FnMut() -> A>(repeater: F) -> RepeatWith<F> {
     RepeatWith { repeater }
 }