Skip to content

Commit d4139af

Browse files
authored
Unrolled build for rust-lang#138098
Rollup merge of rust-lang#138098 - okaneco:stabilize_const_copy_from_slice, r=tgross35 Stabilize feature `const_copy_from_slice` Stabilizes `copy_from_slice` method on `[T]` FCP completed rust-lang#131415 (comment) Closes rust-lang#131415
2 parents 98a4878 + d4c0c94 commit d4139af

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)