@@ -2123,23 +2123,23 @@ impl<I> FromIterator<I> for Box<[I]> {
21232123
21242124/// This implementation is required to make sure that the `Box<[I]>: IntoIterator`
21252125/// implementation doesn't overlap with `IntoIterator for T where T: Iterator` blanket.
2126- #[ stable( feature = "boxed_slice_into_iter" , since = "CURRENT_RUSTC_VERSION " ) ]
2126+ #[ stable( feature = "boxed_slice_into_iter" , since = "1.80.0 " ) ]
21272127impl < I , A : Allocator > !Iterator for Box < [ I ] , A > { }
21282128
21292129/// This implementation is required to make sure that the `&Box<[I]>: IntoIterator`
21302130/// implementation doesn't overlap with `IntoIterator for T where T: Iterator` blanket.
2131- #[ stable( feature = "boxed_slice_into_iter" , since = "CURRENT_RUSTC_VERSION " ) ]
2131+ #[ stable( feature = "boxed_slice_into_iter" , since = "1.80.0 " ) ]
21322132impl < ' a , I , A : Allocator > !Iterator for & ' a Box < [ I ] , A > { }
21332133
21342134/// This implementation is required to make sure that the `&mut Box<[I]>: IntoIterator`
21352135/// implementation doesn't overlap with `IntoIterator for T where T: Iterator` blanket.
2136- #[ stable( feature = "boxed_slice_into_iter" , since = "CURRENT_RUSTC_VERSION " ) ]
2136+ #[ stable( feature = "boxed_slice_into_iter" , since = "1.80.0 " ) ]
21372137impl < ' a , I , A : Allocator > !Iterator for & ' a mut Box < [ I ] , A > { }
21382138
21392139// Note: the `#[rustc_skip_during_method_dispatch(boxed_slice)]` on `trait IntoIterator`
21402140// hides this implementation from explicit `.into_iter()` calls on editions < 2024,
21412141// so those calls will still resolve to the slice implementation, by reference.
2142- #[ stable( feature = "boxed_slice_into_iter" , since = "CURRENT_RUSTC_VERSION " ) ]
2142+ #[ stable( feature = "boxed_slice_into_iter" , since = "1.80.0 " ) ]
21432143impl < I , A : Allocator > IntoIterator for Box < [ I ] , A > {
21442144 type IntoIter = vec:: IntoIter < I , A > ;
21452145 type Item = I ;
@@ -2148,7 +2148,7 @@ impl<I, A: Allocator> IntoIterator for Box<[I], A> {
21482148 }
21492149}
21502150
2151- #[ stable( feature = "boxed_slice_into_iter" , since = "CURRENT_RUSTC_VERSION " ) ]
2151+ #[ stable( feature = "boxed_slice_into_iter" , since = "1.80.0 " ) ]
21522152impl < ' a , I , A : Allocator > IntoIterator for & ' a Box < [ I ] , A > {
21532153 type IntoIter = slice:: Iter < ' a , I > ;
21542154 type Item = & ' a I ;
@@ -2157,7 +2157,7 @@ impl<'a, I, A: Allocator> IntoIterator for &'a Box<[I], A> {
21572157 }
21582158}
21592159
2160- #[ stable( feature = "boxed_slice_into_iter" , since = "CURRENT_RUSTC_VERSION " ) ]
2160+ #[ stable( feature = "boxed_slice_into_iter" , since = "1.80.0 " ) ]
21612161impl < ' a , I , A : Allocator > IntoIterator for & ' a mut Box < [ I ] , A > {
21622162 type IntoIter = slice:: IterMut < ' a , I > ;
21632163 type Item = & ' a mut I ;
@@ -2167,47 +2167,47 @@ impl<'a, I, A: Allocator> IntoIterator for &'a mut Box<[I], A> {
21672167}
21682168
21692169#[ cfg( not( no_global_oom_handling) ) ]
2170- #[ stable( feature = "boxed_str_from_iter" , since = "CURRENT_RUSTC_VERSION " ) ]
2170+ #[ stable( feature = "boxed_str_from_iter" , since = "1.80.0 " ) ]
21712171impl FromIterator < char > for Box < str > {
21722172 fn from_iter < T : IntoIterator < Item = char > > ( iter : T ) -> Self {
21732173 String :: from_iter ( iter) . into_boxed_str ( )
21742174 }
21752175}
21762176
21772177#[ cfg( not( no_global_oom_handling) ) ]
2178- #[ stable( feature = "boxed_str_from_iter" , since = "CURRENT_RUSTC_VERSION " ) ]
2178+ #[ stable( feature = "boxed_str_from_iter" , since = "1.80.0 " ) ]
21792179impl < ' a > FromIterator < & ' a char > for Box < str > {
21802180 fn from_iter < T : IntoIterator < Item = & ' a char > > ( iter : T ) -> Self {
21812181 String :: from_iter ( iter) . into_boxed_str ( )
21822182 }
21832183}
21842184
21852185#[ cfg( not( no_global_oom_handling) ) ]
2186- #[ stable( feature = "boxed_str_from_iter" , since = "CURRENT_RUSTC_VERSION " ) ]
2186+ #[ stable( feature = "boxed_str_from_iter" , since = "1.80.0 " ) ]
21872187impl < ' a > FromIterator < & ' a str > for Box < str > {
21882188 fn from_iter < T : IntoIterator < Item = & ' a str > > ( iter : T ) -> Self {
21892189 String :: from_iter ( iter) . into_boxed_str ( )
21902190 }
21912191}
21922192
21932193#[ cfg( not( no_global_oom_handling) ) ]
2194- #[ stable( feature = "boxed_str_from_iter" , since = "CURRENT_RUSTC_VERSION " ) ]
2194+ #[ stable( feature = "boxed_str_from_iter" , since = "1.80.0 " ) ]
21952195impl FromIterator < String > for Box < str > {
21962196 fn from_iter < T : IntoIterator < Item = String > > ( iter : T ) -> Self {
21972197 String :: from_iter ( iter) . into_boxed_str ( )
21982198 }
21992199}
22002200
22012201#[ cfg( not( no_global_oom_handling) ) ]
2202- #[ stable( feature = "boxed_str_from_iter" , since = "CURRENT_RUSTC_VERSION " ) ]
2202+ #[ stable( feature = "boxed_str_from_iter" , since = "1.80.0 " ) ]
22032203impl < A : Allocator > FromIterator < Box < str , A > > for Box < str > {
22042204 fn from_iter < T : IntoIterator < Item = Box < str , A > > > ( iter : T ) -> Self {
22052205 String :: from_iter ( iter) . into_boxed_str ( )
22062206 }
22072207}
22082208
22092209#[ cfg( not( no_global_oom_handling) ) ]
2210- #[ stable( feature = "boxed_str_from_iter" , since = "CURRENT_RUSTC_VERSION " ) ]
2210+ #[ stable( feature = "boxed_str_from_iter" , since = "1.80.0 " ) ]
22112211impl < ' a > FromIterator < Cow < ' a , str > > for Box < str > {
22122212 fn from_iter < T : IntoIterator < Item = Cow < ' a , str > > > ( iter : T ) -> Self {
22132213 String :: from_iter ( iter) . into_boxed_str ( )
0 commit comments