aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/lib.rs
diff options
context:
space:
mode:
authorJack Moffitt <jack@metajack.im>2015-07-31 12:23:13 -0600
committerJack Moffitt <jack@metajack.im>2015-07-31 12:23:13 -0600
commitdae1a398a43b92aa7390379417e00c7fddb14762 (patch)
tree5438167f21f59eef23bf0e833bc542c44c96f6e2 /components/script/lib.rs
parentca9f9226b092f6f9349aecd53bf0b36fb5b6948e (diff)
downloadservo-dae1a398a43b92aa7390379417e00c7fddb14762.tar.gz
servo-dae1a398a43b92aa7390379417e00c7fddb14762.zip
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.
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)]