Fallout from deprecation

This commit is contained in:
Aaron Turon 2014-09-23 15:33:35 -07:00
parent 4f509a1e47
commit af3cfcc9ea

View File

@ -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) }