Skip to content

Commit a123d90

Browse files
committed
stabilize const_copy_from_slice
1 parent 8f8c7fc commit a123d90

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

library/core/src/slice/mod.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -3732,8 +3732,7 @@ impl<T> [T] {
37323732
#[doc(alias = "memcpy")]
37333733
#[inline]
37343734
#[stable(feature = "copy_from_slice", since = "1.9.0")]
3735-
#[rustc_const_unstable(feature = "const_copy_from_slice", issue = "131415")]
3736-
#[rustc_const_stable_indirect]
3735+
#[rustc_const_stable(feature = "const_copy_from_slice", since = "CURRENT_RUSTC_VERSION")]
37373736
#[track_caller]
37383737
pub const fn copy_from_slice(&mut self, src: &[T])
37393738
where

0 commit comments

Comments
 (0)