We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f509a1 commit af3cfccCopy full SHA for af3cfcc
src/libcore/slice.rs
@@ -1768,6 +1768,7 @@ pub mod bytes {
1768
/// `src` and `dst` must not overlap. Fails if the length of `dst`
1769
/// is less than the length of `src`.
1770
#[inline]
1771
+ #[allow(deprecated)]
1772
pub fn copy_memory(dst: &mut [u8], src: &[u8]) {
1773
// Bound checks are done at .copy_memory.
1774
unsafe { dst.copy_memory(src) }
0 commit comments