Fallout from deprecation
This commit is contained in:
parent
4f509a1e47
commit
af3cfcc9ea
@ -1768,6 +1768,7 @@ fn set_memory(self, value: u8) {
|
||||
/// `src` and `dst` must not overlap. Fails if the length of `dst`
|
||||
/// is less than the length of `src`.
|
||||
#[inline]
|
||||
#[allow(deprecated)]
|
||||
pub fn copy_memory(dst: &mut [u8], src: &[u8]) {
|
||||
// Bound checks are done at .copy_memory.
|
||||
unsafe { dst.copy_memory(src) }
|
||||
|
Loading…
Reference in New Issue
Block a user