about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorAaron Turon <aturon@mozilla.com>2014-09-23 15:33:35 -0700
committerAaron Turon <aturon@mozilla.com>2014-09-25 17:46:03 -0700
commitaf3cfcc9eac7adf86488b0ab9aa56e2761dc33d6 (patch)
treeb87d1ab46530d556da1f53f027799c6ebed45b38 /src/libcore
parent4f509a1e479bb971b0d6af8bc6cff6acaf97c0c7 (diff)
downloadrust-af3cfcc9eac7adf86488b0ab9aa56e2761dc33d6.tar.gz
rust-af3cfcc9eac7adf86488b0ab9aa56e2761dc33d6.zip
Fallout from deprecation
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/slice.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/slice.rs b/src/libcore/slice.rs
index c4cb4f1d64e..1a00107a216 100644
--- a/src/libcore/slice.rs
+++ b/src/libcore/slice.rs
@@ -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) }