diff options
| author | Ralf Jung <post@ralfj.de> | 2024-11-30 10:33:09 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-11-30 11:55:58 +0100 |
| commit | 4ce2116aef0677c6f59890d9bd3acea890fa5cbb (patch) | |
| tree | 4d17bc8f429d65deccdeb3191d35a50ef984452a /library/core/src/slice | |
| parent | 0dc94404ee1c529dcf0071f0ef84f64934e7f747 (diff) | |
| download | rust-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.rs | 2 |
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]> { |
