提交 af3cfcc9 编写于 作者: A Aaron Turon

Fallout from deprecation

上级 4f509a1e
......@@ -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) }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册