From 315401ddf8857c9431a889ac1307dca856e4fe65 Mon Sep 17 00:00:00 2001 From: Konrad Borowski Date: Wed, 26 Dec 2018 10:13:44 +0100 Subject: [PATCH] Add a tracking issue for Iterator::copied --- src/libcore/iter/iterator.rs | 2 +- src/libcore/iter/mod.rs | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/libcore/iter/iterator.rs b/src/libcore/iter/iterator.rs index d0b0fd1ab3171..dab6241504f69 100644 --- a/src/libcore/iter/iterator.rs +++ b/src/libcore/iter/iterator.rs @@ -2257,7 +2257,7 @@ pub trait Iterator { /// assert_eq!(v_cloned, vec![1, 2, 3]); /// assert_eq!(v_map, vec![1, 2, 3]); /// ``` - #[unstable(feature = "iter_copied", issue = "0")] + #[unstable(feature = "iter_copied", issue = "57127")] fn copied<'a, T: 'a>(self) -> Copied where Self: Sized + Iterator, T: Copy { diff --git a/src/libcore/iter/mod.rs b/src/libcore/iter/mod.rs index aa130754f8304..34c84d90e37c5 100644 --- a/src/libcore/iter/mod.rs +++ b/src/libcore/iter/mod.rs @@ -514,14 +514,14 @@ unsafe impl TrustedLen for Rev /// /// [`copied`]: trait.Iterator.html#method.copied /// [`Iterator`]: trait.Iterator.html -#[unstable(feature = "iter_copied", issue = "0")] +#[unstable(feature = "iter_copied", issue = "57127")] #[must_use = "iterator adaptors are lazy and do nothing unless consumed"] #[derive(Clone, Debug)] pub struct Copied { it: I, } -#[unstable(feature = "iter_copied", issue = "0")] +#[unstable(feature = "iter_copied", issue = "57127")] impl<'a, I, T: 'a> Iterator for Copied where I: Iterator, T: Copy { @@ -548,7 +548,7 @@ impl<'a, I, T: 'a> Iterator for Copied } } -#[unstable(feature = "iter_copied", issue = "0")] +#[unstable(feature = "iter_copied", issue = "57127")] impl<'a, I, T: 'a> DoubleEndedIterator for Copied where I: DoubleEndedIterator, T: Copy { @@ -569,7 +569,7 @@ impl<'a, I, T: 'a> DoubleEndedIterator for Copied } } -#[unstable(feature = "iter_copied", issue = "0")] +#[unstable(feature = "iter_copied", issue = "57127")] impl<'a, I, T: 'a> ExactSizeIterator for Copied where I: ExactSizeIterator, T: Copy { @@ -582,7 +582,7 @@ impl<'a, I, T: 'a> ExactSizeIterator for Copied } } -#[unstable(feature = "iter_copied", issue = "0")] +#[unstable(feature = "iter_copied", issue = "57127")] impl<'a, I, T: 'a> FusedIterator for Copied where I: FusedIterator, T: Copy {} @@ -601,7 +601,7 @@ unsafe impl<'a, I, T: 'a> TrustedRandomAccess for Copied } } -#[unstable(feature = "iter_copied", issue = "0")] +#[unstable(feature = "iter_copied", issue = "57127")] unsafe impl<'a, I, T: 'a> TrustedLen for Copied where I: TrustedLen, T: Copy