Skip to content

Commit

Permalink
Fallout from deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
aturon committed Sep 26, 2014
1 parent 4f509a1 commit af3cfcc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libcore/slice.rs
Expand Up @@ -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) }
Expand Down

0 comments on commit af3cfcc

Please sign in to comment.