Skip to content

Commit 38c5545

Browse files
committed
Stabilize <[T; N]>::as_mut_slice as const
1 parent 49e5e4e commit 38c5545

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/array/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ impl<T, const N: usize> [T; N] {
587587
/// Returns a mutable slice containing the entire array. Equivalent to
588588
/// `&mut s[..]`.
589589
#[stable(feature = "array_as_slice", since = "1.57.0")]
590-
#[rustc_const_unstable(feature = "const_array_as_mut_slice", issue = "133333")]
590+
#[rustc_const_stable(feature = "const_array_as_mut_slice", since = "CURRENT_RUSTC_VERSION")]
591591
pub const fn as_mut_slice(&mut self) -> &mut [T] {
592592
self
593593
}

0 commit comments

Comments
 (0)