diff options
| author | Thalia Archibald <thalia@archibald.dev> | 2025-04-20 02:13:34 -0700 |
|---|---|---|
| committer | Thalia Archibald <thalia@archibald.dev> | 2025-04-20 02:13:34 -0700 |
| commit | 38c55452445fbf9b3abaf7023273e3318e4bd64b (patch) | |
| tree | 621289640415ebebdf67234e8c6951fc04439d43 | |
| parent | 49e5e4e3a5610c240a717cb99003a5d5d3356679 (diff) | |
| download | rust-38c55452445fbf9b3abaf7023273e3318e4bd64b.tar.gz rust-38c55452445fbf9b3abaf7023273e3318e4bd64b.zip | |
Stabilize <[T; N]>::as_mut_slice as const
| -rw-r--r-- | library/core/src/array/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/array/mod.rs b/library/core/src/array/mod.rs index efa7bed7c8e..0e1806c1ba9 100644 --- a/library/core/src/array/mod.rs +++ b/library/core/src/array/mod.rs @@ -587,7 +587,7 @@ impl<T, const N: usize> [T; N] { /// Returns a mutable slice containing the entire array. Equivalent to /// `&mut s[..]`. #[stable(feature = "array_as_slice", since = "1.57.0")] - #[rustc_const_unstable(feature = "const_array_as_mut_slice", issue = "133333")] + #[rustc_const_stable(feature = "const_array_as_mut_slice", since = "CURRENT_RUSTC_VERSION")] pub const fn as_mut_slice(&mut self) -> &mut [T] { self } |
