@@ -13,7 +13,7 @@ use super::LengthAtMost32;
1313/// A by-value [array] iterator.
1414///
1515/// [array]: ../../std/primitive.array.html
16- #[ unstable( feature = "array_value_iter" , issue = "0 " ) ]
16+ #[ unstable( feature = "array_value_iter" , issue = "65798 " ) ]
1717pub struct IntoIter < T , const N : usize >
1818where
1919 [ T ; N ] : LengthAtMost32 ,
4949 /// *Note*: this method might never get stabilized and/or removed in the
5050 /// future as there will likely be another, preferred way of obtaining this
5151 /// iterator (either via `IntoIterator` for arrays or via another way).
52- #[ unstable( feature = "array_value_iter" , issue = "0 " ) ]
52+ #[ unstable( feature = "array_value_iter" , issue = "65798 " ) ]
5353 pub fn new ( array : [ T ; N ] ) -> Self {
5454 // The transmute here is actually safe. The docs of `MaybeUninit`
5555 // promise:
9595}
9696
9797
98- #[ stable( feature = "array_value_iter_impls" , since = "1.38 .0" ) ]
98+ #[ stable( feature = "array_value_iter_impls" , since = "1.40 .0" ) ]
9999impl < T , const N : usize > Iterator for IntoIter < T , { N } >
100100where
101101 [ T ; N ] : LengthAtMost32 ,
@@ -141,7 +141,7 @@ where
141141 }
142142}
143143
144- #[ stable( feature = "array_value_iter_impls" , since = "1.38 .0" ) ]
144+ #[ stable( feature = "array_value_iter_impls" , since = "1.40 .0" ) ]
145145impl < T , const N : usize > DoubleEndedIterator for IntoIter < T , { N } >
146146where
147147 [ T ; N ] : LengthAtMost32 ,
@@ -176,7 +176,7 @@ where
176176 }
177177}
178178
179- #[ stable( feature = "array_value_iter_impls" , since = "1.38 .0" ) ]
179+ #[ stable( feature = "array_value_iter_impls" , since = "1.40 .0" ) ]
180180impl < T , const N : usize > Drop for IntoIter < T , { N } >
181181where
182182 [ T ; N ] : LengthAtMost32 ,
@@ -189,7 +189,7 @@ where
189189 }
190190}
191191
192- #[ stable( feature = "array_value_iter_impls" , since = "1.38 .0" ) ]
192+ #[ stable( feature = "array_value_iter_impls" , since = "1.40 .0" ) ]
193193impl < T , const N : usize > ExactSizeIterator for IntoIter < T , { N } >
194194where
195195 [ T ; N ] : LengthAtMost32 ,
@@ -204,7 +204,7 @@ where
204204 }
205205}
206206
207- #[ stable( feature = "array_value_iter_impls" , since = "1.38 .0" ) ]
207+ #[ stable( feature = "array_value_iter_impls" , since = "1.40 .0" ) ]
208208impl < T , const N : usize > FusedIterator for IntoIter < T , { N } >
209209where
210210 [ T ; N ] : LengthAtMost32 ,
@@ -214,13 +214,13 @@ where
214214// elements (that will still be yielded) is the length of the range `alive`.
215215// This range is decremented in length in either `next` or `next_back`. It is
216216// always decremented by 1 in those methods, but only if `Some(_)` is returned.
217- #[ stable( feature = "array_value_iter_impls" , since = "1.38 .0" ) ]
217+ #[ stable( feature = "array_value_iter_impls" , since = "1.40 .0" ) ]
218218unsafe impl < T , const N : usize > TrustedLen for IntoIter < T , { N } >
219219where
220220 [ T ; N ] : LengthAtMost32 ,
221221{ }
222222
223- #[ stable( feature = "array_value_iter_impls" , since = "1.38 .0" ) ]
223+ #[ stable( feature = "array_value_iter_impls" , since = "1.40 .0" ) ]
224224impl < T : Clone , const N : usize > Clone for IntoIter < T , { N } >
225225where
226226 [ T ; N ] : LengthAtMost32 ,
@@ -251,7 +251,7 @@ where
251251 }
252252}
253253
254- #[ stable( feature = "array_value_iter_impls" , since = "1.38 .0" ) ]
254+ #[ stable( feature = "array_value_iter_impls" , since = "1.40 .0" ) ]
255255impl < T : fmt:: Debug , const N : usize > fmt:: Debug for IntoIter < T , { N } >
256256where
257257 [ T ; N ] : LengthAtMost32 ,
0 commit comments