about summary refs log tree commit diff
path: root/library/core/src/slice
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-11-30 10:33:09 +0100
committerRalf Jung <post@ralfj.de>2024-11-30 11:55:58 +0100
commit4ce2116aef0677c6f59890d9bd3acea890fa5cbb (patch)
tree4d17bc8f429d65deccdeb3191d35a50ef984452a /library/core/src/slice
parent0dc94404ee1c529dcf0071f0ef84f64934e7f747 (diff)
downloadrust-4ce2116aef0677c6f59890d9bd3acea890fa5cbb.tar.gz
rust-4ce2116aef0677c6f59890d9bd3acea890fa5cbb.zip
get rid of a bunch of unnecessary rustc_const_unstable
Diffstat (limited to 'library/core/src/slice')
-rw-r--r--library/core/src/slice/mod.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/library/core/src/slice/mod.rs b/library/core/src/slice/mod.rs
index a24417dba8c..c6aa2e580f6 100644
--- a/library/core/src/slice/mod.rs
+++ b/library/core/src/slice/mod.rs
@@ -859,7 +859,6 @@ impl<T> [T] {
     ///
     /// If `N` is not exactly equal to slice's the length of `self`, then this method returns `None`.
     #[unstable(feature = "slice_as_array", issue = "133508")]
-    #[rustc_const_unstable(feature = "slice_as_array", issue = "133508")]
     #[inline]
     #[must_use]
     pub const fn as_array<const N: usize>(&self) -> Option<&[T; N]> {
@@ -878,7 +877,6 @@ impl<T> [T] {
     ///
     /// If `N` is not exactly equal to the length of `self`, then this method returns `None`.
     #[unstable(feature = "slice_as_array", issue = "133508")]
-    #[rustc_const_unstable(feature = "slice_as_array", issue = "133508")]
     #[inline]
     #[must_use]
     pub const fn as_mut_array<const N: usize>(&mut self) -> Option<&mut [T; N]> {