aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/lib.rs
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-07-31 12:54:49 -0600
committerbors-servo <metajack+bors@gmail.com>2015-07-31 12:54:49 -0600
commita54404c92180b839d2cf089d9ec9a6afe8bd5ba3 (patch)
tree08fb013f6d9e437e15893796068f8d8e06bf1a91 /components/script/lib.rs
parent7e772857458f60a68346ac1a7020ae51d65959a1 (diff)
parentdae1a398a43b92aa7390379417e00c7fddb14762 (diff)
downloadservo-a54404c92180b839d2cf089d9ec9a6afe8bd5ba3.tar.gz
servo-a54404c92180b839d2cf089d9ec9a6afe8bd5ba3.zip
Auto merge of #6876 - metajack:slice_chars-layout, r=pcwalton
Use local slice_chars StrExt::slice_chars is deprecated and will be removed in Rust. This lifts the implementation from Rust libstd and puts it in util::str. This fixes a bunch of deprecation warnings in Servo. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6876) <!-- Reviewable:end -->
Diffstat (limited to 'components/script/lib.rs')
-rw-r--r--components/script/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/components/script/lib.rs b/components/script/lib.rs
index 3e38d1c88fc..640aad8e6e1 100644
--- a/components/script/lib.rs
+++ b/components/script/lib.rs
@@ -21,7 +21,6 @@
#![feature(plugin)]
#![feature(ref_slice)]
#![feature(rc_unique)]
-#![feature(slice_chars)]
#![feature(str_utf16)]
#![feature(unicode)]
#![feature(vec_push_all)]