Skip to content

Commit af3cfcc

Browse files
committed
Fallout from deprecation
1 parent 4f509a1 commit af3cfcc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libcore/slice.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1768,6 +1768,7 @@ pub mod bytes {
17681768
/// `src` and `dst` must not overlap. Fails if the length of `dst`
17691769
/// is less than the length of `src`.
17701770
#[inline]
1771+
#[allow(deprecated)]
17711772
pub fn copy_memory(dst: &mut [u8], src: &[u8]) {
17721773
// Bound checks are done at .copy_memory.
17731774
unsafe { dst.copy_memory(src) }

0 commit comments

Comments
 (0)