From 4cd2637e2bf1016c95a401a4d5cc70406fbacf08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Naz=C4=B1m=20Can=20Alt=C4=B1nova?= Date: Sat, 8 Aug 2020 16:34:42 +0200 Subject: [PATCH] Update the tracking issue number of map_into_keys_values --- library/alloc/src/collections/btree/map.rs | 24 +++++++++++----------- library/std/src/collections/hash/map.rs | 24 +++++++++++----------- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/library/alloc/src/collections/btree/map.rs b/library/alloc/src/collections/btree/map.rs index 1e09db6cc395..b8ae1ed318f6 100644 --- a/library/alloc/src/collections/btree/map.rs +++ b/library/alloc/src/collections/btree/map.rs @@ -363,7 +363,7 @@ pub struct ValuesMut<'a, K: 'a, V: 'a> { /// See its documentation for more. /// /// [`into_keys`]: BTreeMap::into_keys -#[unstable(feature = "map_into_keys_values", issue = "55214")] +#[unstable(feature = "map_into_keys_values", issue = "75294")] #[derive(Debug)] pub struct IntoKeys { inner: IntoIter, @@ -375,7 +375,7 @@ pub struct IntoKeys { /// See its documentation for more. /// /// [`into_values`]: BTreeMap::into_values -#[unstable(feature = "map_into_keys_values", issue = "55214")] +#[unstable(feature = "map_into_keys_values", issue = "75294")] #[derive(Debug)] pub struct IntoValues { inner: IntoIter, @@ -1336,7 +1336,7 @@ impl BTreeMap { /// assert_eq!(keys, [1, 2]); /// ``` #[inline] - #[unstable(feature = "map_into_keys_values", issue = "55214")] + #[unstable(feature = "map_into_keys_values", issue = "75294")] pub fn into_keys(self) -> IntoKeys { IntoKeys { inner: self.into_iter() } } @@ -1359,7 +1359,7 @@ impl BTreeMap { /// assert_eq!(values, ["hello", "goodbye"]); /// ``` #[inline] - #[unstable(feature = "map_into_keys_values", issue = "55214")] + #[unstable(feature = "map_into_keys_values", issue = "75294")] pub fn into_values(self) -> IntoValues { IntoValues { inner: self.into_iter() } } @@ -1853,7 +1853,7 @@ impl<'a, K, V> Range<'a, K, V> { } } -#[unstable(feature = "map_into_keys_values", issue = "55214")] +#[unstable(feature = "map_into_keys_values", issue = "75294")] impl Iterator for IntoKeys { type Item = K; @@ -1878,24 +1878,24 @@ impl Iterator for IntoKeys { } } -#[unstable(feature = "map_into_keys_values", issue = "55214")] +#[unstable(feature = "map_into_keys_values", issue = "75294")] impl DoubleEndedIterator for IntoKeys { fn next_back(&mut self) -> Option { self.inner.next_back().map(|(k, _)| k) } } -#[unstable(feature = "map_into_keys_values", issue = "55214")] +#[unstable(feature = "map_into_keys_values", issue = "75294")] impl ExactSizeIterator for IntoKeys { fn len(&self) -> usize { self.inner.len() } } -#[unstable(feature = "map_into_keys_values", issue = "55214")] +#[unstable(feature = "map_into_keys_values", issue = "75294")] impl FusedIterator for IntoKeys {} -#[unstable(feature = "map_into_keys_values", issue = "55214")] +#[unstable(feature = "map_into_keys_values", issue = "75294")] impl Iterator for IntoValues { type Item = V; @@ -1912,21 +1912,21 @@ impl Iterator for IntoValues { } } -#[unstable(feature = "map_into_keys_values", issue = "55214")] +#[unstable(feature = "map_into_keys_values", issue = "75294")] impl DoubleEndedIterator for IntoValues { fn next_back(&mut self) -> Option { self.inner.next_back().map(|(_, v)| v) } } -#[unstable(feature = "map_into_keys_values", issue = "55214")] +#[unstable(feature = "map_into_keys_values", issue = "75294")] impl ExactSizeIterator for IntoValues { fn len(&self) -> usize { self.inner.len() } } -#[unstable(feature = "map_into_keys_values", issue = "55214")] +#[unstable(feature = "map_into_keys_values", issue = "75294")] impl FusedIterator for IntoValues {} #[stable(feature = "btree_range", since = "1.17.0")] diff --git a/library/std/src/collections/hash/map.rs b/library/std/src/collections/hash/map.rs index df2dcba0ef36..70f7214e2f1d 100644 --- a/library/std/src/collections/hash/map.rs +++ b/library/std/src/collections/hash/map.rs @@ -891,7 +891,7 @@ where /// let vec: Vec<&str> = map.into_keys().collect(); /// ``` #[inline] - #[unstable(feature = "map_into_keys_values", issue = "55214")] + #[unstable(feature = "map_into_keys_values", issue = "75294")] pub fn into_keys(self) -> IntoKeys { IntoKeys { inner: self.into_iter() } } @@ -914,7 +914,7 @@ where /// let vec: Vec = map.into_values().collect(); /// ``` #[inline] - #[unstable(feature = "map_into_keys_values", issue = "55214")] + #[unstable(feature = "map_into_keys_values", issue = "75294")] pub fn into_values(self) -> IntoValues { IntoValues { inner: self.into_iter() } } @@ -1206,7 +1206,7 @@ pub struct ValuesMut<'a, K: 'a, V: 'a> { /// See its documentation for more. /// /// [`into_keys`]: HashMap::into_keys -#[unstable(feature = "map_into_keys_values", issue = "55214")] +#[unstable(feature = "map_into_keys_values", issue = "75294")] pub struct IntoKeys { inner: IntoIter, } @@ -1217,7 +1217,7 @@ pub struct IntoKeys { /// See its documentation for more. /// /// [`into_values`]: HashMap::into_values -#[unstable(feature = "map_into_keys_values", issue = "55214")] +#[unstable(feature = "map_into_keys_values", issue = "75294")] pub struct IntoValues { inner: IntoIter, } @@ -1895,7 +1895,7 @@ where } } -#[unstable(feature = "map_into_keys_values", issue = "55214")] +#[unstable(feature = "map_into_keys_values", issue = "75294")] impl Iterator for IntoKeys { type Item = K; @@ -1908,24 +1908,24 @@ impl Iterator for IntoKeys { self.inner.size_hint() } } -#[unstable(feature = "map_into_keys_values", issue = "55214")] +#[unstable(feature = "map_into_keys_values", issue = "75294")] impl ExactSizeIterator for IntoKeys { #[inline] fn len(&self) -> usize { self.inner.len() } } -#[unstable(feature = "map_into_keys_values", issue = "55214")] +#[unstable(feature = "map_into_keys_values", issue = "75294")] impl FusedIterator for IntoKeys {} -#[unstable(feature = "map_into_keys_values", issue = "55214")] +#[unstable(feature = "map_into_keys_values", issue = "75294")] impl fmt::Debug for IntoKeys { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { f.debug_list().entries(self.inner.iter().map(|(k, _)| k)).finish() } } -#[unstable(feature = "map_into_keys_values", issue = "55214")] +#[unstable(feature = "map_into_keys_values", issue = "75294")] impl Iterator for IntoValues { type Item = V; @@ -1938,17 +1938,17 @@ impl Iterator for IntoValues { self.inner.size_hint() } } -#[unstable(feature = "map_into_keys_values", issue = "55214")] +#[unstable(feature = "map_into_keys_values", issue = "75294")] impl ExactSizeIterator for IntoValues { #[inline] fn len(&self) -> usize { self.inner.len() } } -#[unstable(feature = "map_into_keys_values", issue = "55214")] +#[unstable(feature = "map_into_keys_values", issue = "75294")] impl FusedIterator for IntoValues {} -#[unstable(feature = "map_into_keys_values", issue = "55214")] +#[unstable(feature = "map_into_keys_values", issue = "75294")] impl fmt::Debug for IntoValues { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { f.debug_list().entries(self.inner.iter().map(|(_, v)| v)).finish()