Skip to content

Commit faed31b

Browse files
committed
Fallout from deprecation
1 parent ea5ca1f commit faed31b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libcore/slice.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1809,6 +1809,7 @@ pub mod bytes {
18091809
/// `src` and `dst` must not overlap. Fails if the length of `dst`
18101810
/// is less than the length of `src`.
18111811
#[inline]
1812+
#[allow(deprecated)]
18121813
pub fn copy_memory(dst: &mut [u8], src: &[u8]) {
18131814
// Bound checks are done at .copy_memory.
18141815
unsafe { dst.copy_memory(src) }

0 commit comments

Comments
 (0)