@@ -141,8 +141,8 @@ impl<T, const N: usize> IntoIter<T, N> {
141
141
/// let r: IntoIter<_, 40> = next_chunk(&mut (10..16)).unwrap_err();
142
142
/// assert_eq!(r.collect::<Vec<_>>(), vec![10, 11, 12, 13, 14, 15]);
143
143
/// ```
144
- #[ unstable( feature = "array_into_iter_constructors" , issue = "88888888 " ) ]
145
- #[ rustc_const_unstable( feature = "array_into_iter_constructors_const " , issue = "88888888 " ) ]
144
+ #[ unstable( feature = "array_into_iter_constructors" , issue = "91583 " ) ]
145
+ #[ rustc_const_unstable( feature = "const_array_into_iter_constructors " , issue = "91583 " ) ]
146
146
pub const unsafe fn from_raw_parts (
147
147
buffer : [ MaybeUninit < T > ; N ] ,
148
148
initialized : Range < usize > ,
@@ -202,8 +202,9 @@ impl<T, const N: usize> IntoIter<T, N> {
202
202
/// assert_eq!(get_bytes(true).collect::<Vec<_>>(), vec![1, 2, 3, 4]);
203
203
/// assert_eq!(get_bytes(false).collect::<Vec<_>>(), vec![]);
204
204
/// ```
205
- #[ unstable( feature = "array_into_iter_constructors" , issue = "88888888" ) ]
206
- pub fn empty ( ) -> Self {
205
+ #[ unstable( feature = "array_into_iter_constructors" , issue = "91583" ) ]
206
+ #[ rustc_const_unstable( feature = "const_array_into_iter_constructors" , issue = "91583" ) ]
207
+ pub const fn empty ( ) -> Self {
207
208
let buffer = MaybeUninit :: uninit_array ( ) ;
208
209
let initialized = 0 ..0 ;
209
210
0 commit comments