@@ -398,12 +398,12 @@ impl<K, V: fmt::Debug> fmt::Debug for ValuesMut<'_, K, V> {
398398/// See its documentation for more.
399399///
400400/// [`into_keys`]: BTreeMap::into_keys
401- #[ stable( feature = "map_into_keys_values" , since = "1.53 .0" ) ]
401+ #[ stable( feature = "map_into_keys_values" , since = "1.54 .0" ) ]
402402pub struct IntoKeys < K , V > {
403403 inner : IntoIter < K , V > ,
404404}
405405
406- #[ stable( feature = "map_into_keys_values" , since = "1.53 .0" ) ]
406+ #[ stable( feature = "map_into_keys_values" , since = "1.54 .0" ) ]
407407impl < K : fmt:: Debug , V > fmt:: Debug for IntoKeys < K , V > {
408408 fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
409409 f. debug_list ( ) . entries ( self . inner . iter ( ) . map ( |( key, _) | key) ) . finish ( )
@@ -416,12 +416,12 @@ impl<K: fmt::Debug, V> fmt::Debug for IntoKeys<K, V> {
416416/// See its documentation for more.
417417///
418418/// [`into_values`]: BTreeMap::into_values
419- #[ stable( feature = "map_into_keys_values" , since = "1.53 .0" ) ]
419+ #[ stable( feature = "map_into_keys_values" , since = "1.54 .0" ) ]
420420pub struct IntoValues < K , V > {
421421 inner : IntoIter < K , V > ,
422422}
423423
424- #[ stable( feature = "map_into_keys_values" , since = "1.53 .0" ) ]
424+ #[ stable( feature = "map_into_keys_values" , since = "1.54 .0" ) ]
425425impl < K , V : fmt:: Debug > fmt:: Debug for IntoValues < K , V > {
426426 fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
427427 f. debug_list ( ) . entries ( self . inner . iter ( ) . map ( |( _, val) | val) ) . finish ( )
@@ -1252,7 +1252,7 @@ impl<K, V> BTreeMap<K, V> {
12521252 /// assert_eq!(keys, [1, 2]);
12531253 /// ```
12541254 #[ inline]
1255- #[ stable( feature = "map_into_keys_values" , since = "1.53 .0" ) ]
1255+ #[ stable( feature = "map_into_keys_values" , since = "1.54 .0" ) ]
12561256 pub fn into_keys ( self ) -> IntoKeys < K , V > {
12571257 IntoKeys { inner : self . into_iter ( ) }
12581258 }
@@ -1274,7 +1274,7 @@ impl<K, V> BTreeMap<K, V> {
12741274 /// assert_eq!(values, ["hello", "goodbye"]);
12751275 /// ```
12761276 #[ inline]
1277- #[ stable( feature = "map_into_keys_values" , since = "1.53 .0" ) ]
1277+ #[ stable( feature = "map_into_keys_values" , since = "1.54 .0" ) ]
12781278 pub fn into_values ( self ) -> IntoValues < K , V > {
12791279 IntoValues { inner : self . into_iter ( ) }
12801280 }
@@ -1774,7 +1774,7 @@ impl<'a, K, V> Range<'a, K, V> {
17741774 }
17751775}
17761776
1777- #[ stable( feature = "map_into_keys_values" , since = "1.53 .0" ) ]
1777+ #[ stable( feature = "map_into_keys_values" , since = "1.54 .0" ) ]
17781778impl < K , V > Iterator for IntoKeys < K , V > {
17791779 type Item = K ;
17801780
@@ -1799,24 +1799,24 @@ impl<K, V> Iterator for IntoKeys<K, V> {
17991799 }
18001800}
18011801
1802- #[ stable( feature = "map_into_keys_values" , since = "1.53 .0" ) ]
1802+ #[ stable( feature = "map_into_keys_values" , since = "1.54 .0" ) ]
18031803impl < K , V > DoubleEndedIterator for IntoKeys < K , V > {
18041804 fn next_back ( & mut self ) -> Option < K > {
18051805 self . inner . next_back ( ) . map ( |( k, _) | k)
18061806 }
18071807}
18081808
1809- #[ stable( feature = "map_into_keys_values" , since = "1.53 .0" ) ]
1809+ #[ stable( feature = "map_into_keys_values" , since = "1.54 .0" ) ]
18101810impl < K , V > ExactSizeIterator for IntoKeys < K , V > {
18111811 fn len ( & self ) -> usize {
18121812 self . inner . len ( )
18131813 }
18141814}
18151815
1816- #[ stable( feature = "map_into_keys_values" , since = "1.53 .0" ) ]
1816+ #[ stable( feature = "map_into_keys_values" , since = "1.54 .0" ) ]
18171817impl < K , V > FusedIterator for IntoKeys < K , V > { }
18181818
1819- #[ stable( feature = "map_into_keys_values" , since = "1.53 .0" ) ]
1819+ #[ stable( feature = "map_into_keys_values" , since = "1.54 .0" ) ]
18201820impl < K , V > Iterator for IntoValues < K , V > {
18211821 type Item = V ;
18221822
@@ -1833,21 +1833,21 @@ impl<K, V> Iterator for IntoValues<K, V> {
18331833 }
18341834}
18351835
1836- #[ stable( feature = "map_into_keys_values" , since = "1.53 .0" ) ]
1836+ #[ stable( feature = "map_into_keys_values" , since = "1.54 .0" ) ]
18371837impl < K , V > DoubleEndedIterator for IntoValues < K , V > {
18381838 fn next_back ( & mut self ) -> Option < V > {
18391839 self . inner . next_back ( ) . map ( |( _, v) | v)
18401840 }
18411841}
18421842
1843- #[ stable( feature = "map_into_keys_values" , since = "1.53 .0" ) ]
1843+ #[ stable( feature = "map_into_keys_values" , since = "1.54 .0" ) ]
18441844impl < K , V > ExactSizeIterator for IntoValues < K , V > {
18451845 fn len ( & self ) -> usize {
18461846 self . inner . len ( )
18471847 }
18481848}
18491849
1850- #[ stable( feature = "map_into_keys_values" , since = "1.53 .0" ) ]
1850+ #[ stable( feature = "map_into_keys_values" , since = "1.54 .0" ) ]
18511851impl < K , V > FusedIterator for IntoValues < K , V > { }
18521852
18531853#[ stable( feature = "btree_range" , since = "1.17.0" ) ]
0 commit comments