@@ -462,17 +462,6 @@ impl<K: Ord, V> BTreeMap<K, V> {
462462 }
463463}
464464
465- // NOTE(stage0): remove impl after a snapshot
466- #[ cfg( stage0) ]
467- impl < K , V > IntoIterator for BTreeMap < K , V > {
468- type IntoIter = IntoIter < K , V > ;
469-
470- fn into_iter ( self ) -> IntoIter < K , V > {
471- self . into_iter ( )
472- }
473- }
474-
475- #[ cfg( not( stage0) ) ] // NOTE(stage0): remove cfg after a snapshot
476465#[ stable( feature = "rust1" , since = "1.0.0" ) ]
477466impl < K , V > IntoIterator for BTreeMap < K , V > {
478467 type Item = ( K , V ) ;
@@ -483,17 +472,6 @@ impl<K, V> IntoIterator for BTreeMap<K, V> {
483472 }
484473}
485474
486- // NOTE(stage0): remove impl after a snapshot
487- #[ cfg( stage0) ]
488- impl < ' a , K , V > IntoIterator for & ' a BTreeMap < K , V > {
489- type IntoIter = Iter < ' a , K , V > ;
490-
491- fn into_iter ( self ) -> Iter < ' a , K , V > {
492- self . iter ( )
493- }
494- }
495-
496- #[ cfg( not( stage0) ) ] // NOTE(stage0): remove cfg after a snapshot
497475#[ stable( feature = "rust1" , since = "1.0.0" ) ]
498476impl < ' a , K , V > IntoIterator for & ' a BTreeMap < K , V > {
499477 type Item = ( & ' a K , & ' a V ) ;
@@ -504,17 +482,6 @@ impl<'a, K, V> IntoIterator for &'a BTreeMap<K, V> {
504482 }
505483}
506484
507- // NOTE(stage0): remove impl after a snapshot
508- #[ cfg( stage0) ]
509- impl < ' a , K , V > IntoIterator for & ' a mut BTreeMap < K , V > {
510- type IntoIter = IterMut < ' a , K , V > ;
511-
512- fn into_iter ( mut self ) -> IterMut < ' a , K , V > {
513- self . iter_mut ( )
514- }
515- }
516-
517- #[ cfg( not( stage0) ) ] // NOTE(stage0): remove cfg after a snapshot
518485#[ stable( feature = "rust1" , since = "1.0.0" ) ]
519486impl < ' a , K , V > IntoIterator for & ' a mut BTreeMap < K , V > {
520487 type Item = ( & ' a K , & ' a mut V ) ;
0 commit comments