diff options
| author | Nazım Can Altınova <canaltinova@gmail.com> | 2020-08-08 16:34:42 +0200 |
|---|---|---|
| committer | Nazım Can Altınova <canaltinova@gmail.com> | 2020-08-08 16:35:54 +0200 |
| commit | 4cd2637e2bf1016c95a401a4d5cc70406fbacf08 (patch) | |
| tree | e48f0d90408a7d0a74957fbf6b8d7133b62ef6bb | |
| parent | 1cdce3919fe838ad7718b4cc7ca7b62300e8575b (diff) | |
| download | rust-4cd2637e2bf1016c95a401a4d5cc70406fbacf08.tar.gz rust-4cd2637e2bf1016c95a401a4d5cc70406fbacf08.zip | |
Update the tracking issue number of map_into_keys_values
| -rw-r--r-- | library/alloc/src/collections/btree/map.rs | 24 | ||||
| -rw-r--r-- | 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 1e09db6cc39..b8ae1ed318f 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<K, V> { inner: IntoIter<K, V>, @@ -375,7 +375,7 @@ pub struct IntoKeys<K, V> { /// 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<K, V> { inner: IntoIter<K, V>, @@ -1336,7 +1336,7 @@ impl<K: Ord, V> BTreeMap<K, V> { /// 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<K, V> { IntoKeys { inner: self.into_iter() } } @@ -1359,7 +1359,7 @@ impl<K: Ord, V> BTreeMap<K, V> { /// 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<K, V> { 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<K, V> Iterator for IntoKeys<K, V> { type Item = K; @@ -1878,24 +1878,24 @@ impl<K, V> Iterator for IntoKeys<K, V> { } } -#[unstable(feature = "map_into_keys_values", issue = "55214")] +#[unstable(feature = "map_into_keys_values", issue = "75294")] impl<K, V> DoubleEndedIterator for IntoKeys<K, V> { fn next_back(&mut self) -> Option<K> { self.inner.next_back().map(|(k, _)| k) } } -#[unstable(feature = "map_into_keys_values", issue = "55214")] +#[unstable(feature = "map_into_keys_values", issue = "75294")] impl<K, V> ExactSizeIterator for IntoKeys<K, V> { fn len(&self) -> usize { self.inner.len() } } -#[unstable(feature = "map_into_keys_values", issue = "55214")] +#[unstable(feature = "map_into_keys_values", issue = "75294")] impl<K, V> FusedIterator for IntoKeys<K, V> {} -#[unstable(feature = "map_into_keys_values", issue = "55214")] +#[unstable(feature = "map_into_keys_values", issue = "75294")] impl<K, V> Iterator for IntoValues<K, V> { type Item = V; @@ -1912,21 +1912,21 @@ impl<K, V> Iterator for IntoValues<K, V> { } } -#[unstable(feature = "map_into_keys_values", issue = "55214")] +#[unstable(feature = "map_into_keys_values", issue = "75294")] impl<K, V> DoubleEndedIterator for IntoValues<K, V> { fn next_back(&mut self) -> Option<V> { self.inner.next_back().map(|(_, v)| v) } } -#[unstable(feature = "map_into_keys_values", issue = "55214")] +#[unstable(feature = "map_into_keys_values", issue = "75294")] impl<K, V> ExactSizeIterator for IntoValues<K, V> { fn len(&self) -> usize { self.inner.len() } } -#[unstable(feature = "map_into_keys_values", issue = "55214")] +#[unstable(feature = "map_into_keys_values", issue = "75294")] impl<K, V> FusedIterator for IntoValues<K, V> {} #[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 df2dcba0ef3..70f7214e2f1 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<K, V> { IntoKeys { inner: self.into_iter() } } @@ -914,7 +914,7 @@ where /// let vec: Vec<i32> = 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<K, V> { 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<K, V> { inner: IntoIter<K, V>, } @@ -1217,7 +1217,7 @@ pub struct IntoKeys<K, V> { /// 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<K, V> { inner: IntoIter<K, V>, } @@ -1895,7 +1895,7 @@ where } } -#[unstable(feature = "map_into_keys_values", issue = "55214")] +#[unstable(feature = "map_into_keys_values", issue = "75294")] impl<K, V> Iterator for IntoKeys<K, V> { type Item = K; @@ -1908,24 +1908,24 @@ impl<K, V> Iterator for IntoKeys<K, V> { self.inner.size_hint() } } -#[unstable(feature = "map_into_keys_values", issue = "55214")] +#[unstable(feature = "map_into_keys_values", issue = "75294")] impl<K, V> ExactSizeIterator for IntoKeys<K, V> { #[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<K, V> FusedIterator for IntoKeys<K, V> {} -#[unstable(feature = "map_into_keys_values", issue = "55214")] +#[unstable(feature = "map_into_keys_values", issue = "75294")] impl<K: Debug, V: Debug> fmt::Debug for IntoKeys<K, V> { 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<K, V> Iterator for IntoValues<K, V> { type Item = V; @@ -1938,17 +1938,17 @@ impl<K, V> Iterator for IntoValues<K, V> { self.inner.size_hint() } } -#[unstable(feature = "map_into_keys_values", issue = "55214")] +#[unstable(feature = "map_into_keys_values", issue = "75294")] impl<K, V> ExactSizeIterator for IntoValues<K, V> { #[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<K, V> FusedIterator for IntoValues<K, V> {} -#[unstable(feature = "map_into_keys_values", issue = "55214")] +#[unstable(feature = "map_into_keys_values", issue = "75294")] impl<K: Debug, V: Debug> fmt::Debug for IntoValues<K, V> { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { f.debug_list().entries(self.inner.iter().map(|(_, v)| v)).finish() |
