diff options
author | Tetsuharu OHZEKI <saneyuki.snyk@gmail.com> | 2015-12-11 10:18:01 -0500 |
---|---|---|
committer | Tetsuharu OHZEKI <saneyuki.snyk@gmail.com> | 2015-12-11 10:20:24 -0500 |
commit | 7267163f4915ee61c0e34e0b54eaa1c4fa7ff3b2 (patch) | |
tree | f238a796f24839ca45c87acaf76a7c11f02a946e /components/canvas/lib.rs | |
parent | bccb46c70a49104dabf3bb47aaefc731a5658388 (diff) | |
download | servo-7267163f4915ee61c0e34e0b54eaa1c4fa7ff3b2.tar.gz servo-7267163f4915ee61c0e34e0b54eaa1c4fa7ff3b2.zip |
Fix warnings: use clone_from_slice instead of copy_memory
Diffstat (limited to 'components/canvas/lib.rs')
-rw-r--r-- | components/canvas/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/canvas/lib.rs b/components/canvas/lib.rs index cf865c2f163..d7ff9c30b04 100644 --- a/components/canvas/lib.rs +++ b/components/canvas/lib.rs @@ -2,6 +2,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#![feature(clone_from_slice)] #![feature(nonzero)] #![feature(slice_bytes)] #![feature(plugin)] |