Skip to content

Commit 95e8f09

Browse files
authored
Unrolled build for #140066
Rollup merge of #140066 - thaliaarchi:const-array-as-mut-slice, r=jhpratt Stabilize `<[T; N]>::as_mut_slice` as `const` This is trivial and has no design questions. Tracked in #133333. r? libs-api
2 parents 5e16c66 + 38c5545 commit 95e8f09

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
@@ -588,7 +588,7 @@ impl<T, const N: usize> [T; N] {
588588
/// Returns a mutable slice containing the entire array. Equivalent to
589589
/// `&mut s[..]`.
590590
#[stable(feature = "array_as_slice", since = "1.57.0")]
591-
#[rustc_const_unstable(feature = "const_array_as_mut_slice", issue = "133333")]
591+
#[rustc_const_stable(feature = "const_array_as_mut_slice", since = "CURRENT_RUSTC_VERSION")]
592592
pub const fn as_mut_slice(&mut self) -> &mut [T] {
593593
self
594594
}

0 commit comments

Comments
 (0)