about summary refs log tree commit diff
path: root/library/core/src/array
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-11-02 09:59:55 +0100
committerRalf Jung <post@ralfj.de>2024-11-02 09:59:55 +0100
commit66351a61844aaabe76173c7c790c1a9adbc3d4a8 (patch)
tree06bf6451cb4aa12ea29825210c7b994fbb486712 /library/core/src/array
parentef972a346668ed4234d1a43ed4ad7ca4e9c58d51 (diff)
downloadrust-66351a61844aaabe76173c7c790c1a9adbc3d4a8.tar.gz
rust-66351a61844aaabe76173c7c790c1a9adbc3d4a8.zip
get rid of a whole bunch of unnecessary rustc_const_unstable attributes
Diffstat (limited to 'library/core/src/array')
-rw-r--r--library/core/src/array/iter.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/library/core/src/array/iter.rs b/library/core/src/array/iter.rs
index 2d19e4876f6..9ce0eb61e08 100644
--- a/library/core/src/array/iter.rs
+++ b/library/core/src/array/iter.rs
@@ -136,7 +136,6 @@ impl<T, const N: usize> IntoIter<T, N> {
     /// assert_eq!(r.collect::<Vec<_>>(), vec![10, 11, 12, 13, 14, 15]);
     /// ```
     #[unstable(feature = "array_into_iter_constructors", issue = "91583")]
-    #[rustc_const_unstable(feature = "const_array_into_iter_constructors", issue = "91583")]
     pub const unsafe fn new_unchecked(
         buffer: [MaybeUninit<T>; N],
         initialized: Range<usize>,
@@ -199,7 +198,6 @@ impl<T, const N: usize> IntoIter<T, N> {
     /// assert_eq!(get_bytes(false).collect::<Vec<_>>(), vec![]);
     /// ```
     #[unstable(feature = "array_into_iter_constructors", issue = "91583")]
-    #[rustc_const_unstable(feature = "const_array_into_iter_constructors", issue = "91583")]
     pub const fn empty() -> Self {
         let buffer = [const { MaybeUninit::uninit() }; N];
         let initialized = 0..0;