@@ -414,7 +414,6 @@ impl<K, V, S> HashMap<K, V, S> {
414
414
/// println!("key: {} val: {}", key, val);
415
415
/// }
416
416
/// ```
417
- #[ cfg_attr( not( bootstrap) , rustc_lint_query_instability) ]
418
417
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
419
418
pub fn iter ( & self ) -> Iter < ' _ , K , V > {
420
419
Iter { base : self . base . iter ( ) }
@@ -443,7 +442,6 @@ impl<K, V, S> HashMap<K, V, S> {
443
442
/// println!("key: {} val: {}", key, val);
444
443
/// }
445
444
/// ```
446
- #[ cfg_attr( not( bootstrap) , rustc_lint_query_instability) ]
447
445
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
448
446
pub fn iter_mut ( & mut self ) -> IterMut < ' _ , K , V > {
449
447
IterMut { base : self . base . iter_mut ( ) }
@@ -504,7 +502,6 @@ impl<K, V, S> HashMap<K, V, S> {
504
502
/// assert!(a.is_empty());
505
503
/// ```
506
504
#[ inline]
507
- #[ cfg_attr( not( bootstrap) , rustc_lint_query_instability) ]
508
505
#[ stable( feature = "drain" , since = "1.6.0" ) ]
509
506
pub fn drain ( & mut self ) -> Drain < ' _ , K , V > {
510
507
Drain { base : self . base . drain ( ) }
@@ -546,7 +543,6 @@ impl<K, V, S> HashMap<K, V, S> {
546
543
/// assert_eq!(odds, vec![1, 3, 5, 7]);
547
544
/// ```
548
545
#[ inline]
549
- #[ cfg_attr( not( bootstrap) , rustc_lint_query_instability) ]
550
546
#[ unstable( feature = "hash_drain_filter" , issue = "59618" ) ]
551
547
pub fn drain_filter < F > ( & mut self , pred : F ) -> DrainFilter < ' _ , K , V , F >
552
548
where
@@ -953,7 +949,6 @@ where
953
949
/// assert_eq!(map.len(), 4);
954
950
/// ```
955
951
#[ inline]
956
- #[ cfg_attr( not( bootstrap) , rustc_lint_query_instability) ]
957
952
#[ stable( feature = "retain_hash_collection" , since = "1.18.0" ) ]
958
953
pub fn retain < F > ( & mut self , f : F )
959
954
where
@@ -983,7 +978,6 @@ where
983
978
/// assert_eq!(vec, ["a", "b", "c"]);
984
979
/// ```
985
980
#[ inline]
986
- #[ cfg_attr( not( bootstrap) , rustc_lint_query_instability) ]
987
981
#[ stable( feature = "map_into_keys_values" , since = "1.54.0" ) ]
988
982
pub fn into_keys ( self ) -> IntoKeys < K , V > {
989
983
IntoKeys { inner : self . into_iter ( ) }
@@ -1010,7 +1004,6 @@ where
1010
1004
/// assert_eq!(vec, [1, 2, 3]);
1011
1005
/// ```
1012
1006
#[ inline]
1013
- #[ cfg_attr( not( bootstrap) , rustc_lint_query_instability) ]
1014
1007
#[ stable( feature = "map_into_keys_values" , since = "1.54.0" ) ]
1015
1008
pub fn into_values ( self ) -> IntoValues < K , V > {
1016
1009
IntoValues { inner : self . into_iter ( ) }
@@ -1976,7 +1969,6 @@ impl<'a, K, V, S> IntoIterator for &'a HashMap<K, V, S> {
1976
1969
type IntoIter = Iter < ' a , K , V > ;
1977
1970
1978
1971
#[ inline]
1979
- #[ cfg_attr( not( bootstrap) , rustc_lint_query_instability) ]
1980
1972
fn into_iter ( self ) -> Iter < ' a , K , V > {
1981
1973
self . iter ( )
1982
1974
}
@@ -1988,7 +1980,6 @@ impl<'a, K, V, S> IntoIterator for &'a mut HashMap<K, V, S> {
1988
1980
type IntoIter = IterMut < ' a , K , V > ;
1989
1981
1990
1982
#[ inline]
1991
- #[ cfg_attr( not( bootstrap) , rustc_lint_query_instability) ]
1992
1983
fn into_iter ( self ) -> IterMut < ' a , K , V > {
1993
1984
self . iter_mut ( )
1994
1985
}
@@ -2017,7 +2008,6 @@ impl<K, V, S> IntoIterator for HashMap<K, V, S> {
2017
2008
/// let vec: Vec<(&str, i32)> = map.into_iter().collect();
2018
2009
/// ```
2019
2010
#[ inline]
2020
- #[ cfg_attr( not( bootstrap) , rustc_lint_query_instability) ]
2021
2011
fn into_iter ( self ) -> IntoIter < K , V > {
2022
2012
IntoIter { base : self . base . into_iter ( ) }
2023
2013
}
0 commit comments