@@ -398,12 +398,12 @@ impl<K, V: fmt::Debug> fmt::Debug for ValuesMut<'_, K, V> {
398
398
/// See its documentation for more.
399
399
///
400
400
/// [`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" ) ]
402
402
pub struct IntoKeys < K , V > {
403
403
inner : IntoIter < K , V > ,
404
404
}
405
405
406
- #[ stable( feature = "map_into_keys_values" , since = "1.53 .0" ) ]
406
+ #[ stable( feature = "map_into_keys_values" , since = "1.54 .0" ) ]
407
407
impl < K : fmt:: Debug , V > fmt:: Debug for IntoKeys < K , V > {
408
408
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
409
409
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> {
416
416
/// See its documentation for more.
417
417
///
418
418
/// [`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" ) ]
420
420
pub struct IntoValues < K , V > {
421
421
inner : IntoIter < K , V > ,
422
422
}
423
423
424
- #[ stable( feature = "map_into_keys_values" , since = "1.53 .0" ) ]
424
+ #[ stable( feature = "map_into_keys_values" , since = "1.54 .0" ) ]
425
425
impl < K , V : fmt:: Debug > fmt:: Debug for IntoValues < K , V > {
426
426
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
427
427
f. debug_list ( ) . entries ( self . inner . iter ( ) . map ( |( _, val) | val) ) . finish ( )
@@ -1252,7 +1252,7 @@ impl<K, V> BTreeMap<K, V> {
1252
1252
/// assert_eq!(keys, [1, 2]);
1253
1253
/// ```
1254
1254
#[ inline]
1255
- #[ stable( feature = "map_into_keys_values" , since = "1.53 .0" ) ]
1255
+ #[ stable( feature = "map_into_keys_values" , since = "1.54 .0" ) ]
1256
1256
pub fn into_keys ( self ) -> IntoKeys < K , V > {
1257
1257
IntoKeys { inner : self . into_iter ( ) }
1258
1258
}
@@ -1274,7 +1274,7 @@ impl<K, V> BTreeMap<K, V> {
1274
1274
/// assert_eq!(values, ["hello", "goodbye"]);
1275
1275
/// ```
1276
1276
#[ inline]
1277
- #[ stable( feature = "map_into_keys_values" , since = "1.53 .0" ) ]
1277
+ #[ stable( feature = "map_into_keys_values" , since = "1.54 .0" ) ]
1278
1278
pub fn into_values ( self ) -> IntoValues < K , V > {
1279
1279
IntoValues { inner : self . into_iter ( ) }
1280
1280
}
@@ -1774,7 +1774,7 @@ impl<'a, K, V> Range<'a, K, V> {
1774
1774
}
1775
1775
}
1776
1776
1777
- #[ stable( feature = "map_into_keys_values" , since = "1.53 .0" ) ]
1777
+ #[ stable( feature = "map_into_keys_values" , since = "1.54 .0" ) ]
1778
1778
impl < K , V > Iterator for IntoKeys < K , V > {
1779
1779
type Item = K ;
1780
1780
@@ -1799,24 +1799,24 @@ impl<K, V> Iterator for IntoKeys<K, V> {
1799
1799
}
1800
1800
}
1801
1801
1802
- #[ stable( feature = "map_into_keys_values" , since = "1.53 .0" ) ]
1802
+ #[ stable( feature = "map_into_keys_values" , since = "1.54 .0" ) ]
1803
1803
impl < K , V > DoubleEndedIterator for IntoKeys < K , V > {
1804
1804
fn next_back ( & mut self ) -> Option < K > {
1805
1805
self . inner . next_back ( ) . map ( |( k, _) | k)
1806
1806
}
1807
1807
}
1808
1808
1809
- #[ stable( feature = "map_into_keys_values" , since = "1.53 .0" ) ]
1809
+ #[ stable( feature = "map_into_keys_values" , since = "1.54 .0" ) ]
1810
1810
impl < K , V > ExactSizeIterator for IntoKeys < K , V > {
1811
1811
fn len ( & self ) -> usize {
1812
1812
self . inner . len ( )
1813
1813
}
1814
1814
}
1815
1815
1816
- #[ stable( feature = "map_into_keys_values" , since = "1.53 .0" ) ]
1816
+ #[ stable( feature = "map_into_keys_values" , since = "1.54 .0" ) ]
1817
1817
impl < K , V > FusedIterator for IntoKeys < K , V > { }
1818
1818
1819
- #[ stable( feature = "map_into_keys_values" , since = "1.53 .0" ) ]
1819
+ #[ stable( feature = "map_into_keys_values" , since = "1.54 .0" ) ]
1820
1820
impl < K , V > Iterator for IntoValues < K , V > {
1821
1821
type Item = V ;
1822
1822
@@ -1833,21 +1833,21 @@ impl<K, V> Iterator for IntoValues<K, V> {
1833
1833
}
1834
1834
}
1835
1835
1836
- #[ stable( feature = "map_into_keys_values" , since = "1.53 .0" ) ]
1836
+ #[ stable( feature = "map_into_keys_values" , since = "1.54 .0" ) ]
1837
1837
impl < K , V > DoubleEndedIterator for IntoValues < K , V > {
1838
1838
fn next_back ( & mut self ) -> Option < V > {
1839
1839
self . inner . next_back ( ) . map ( |( _, v) | v)
1840
1840
}
1841
1841
}
1842
1842
1843
- #[ stable( feature = "map_into_keys_values" , since = "1.53 .0" ) ]
1843
+ #[ stable( feature = "map_into_keys_values" , since = "1.54 .0" ) ]
1844
1844
impl < K , V > ExactSizeIterator for IntoValues < K , V > {
1845
1845
fn len ( & self ) -> usize {
1846
1846
self . inner . len ( )
1847
1847
}
1848
1848
}
1849
1849
1850
- #[ stable( feature = "map_into_keys_values" , since = "1.53 .0" ) ]
1850
+ #[ stable( feature = "map_into_keys_values" , since = "1.54 .0" ) ]
1851
1851
impl < K , V > FusedIterator for IntoValues < K , V > { }
1852
1852
1853
1853
#[ stable( feature = "btree_range" , since = "1.17.0" ) ]
0 commit comments