Fallout from deprecation
This commit is contained in:
parent
4f509a1e47
commit
af3cfcc9ea
1 changed files with 1 additions and 0 deletions
|
@ -1768,6 +1768,7 @@ pub mod bytes {
|
|||
/// `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 a new issue