aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/lib.rs
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-09-25 13:47:37 -0600
committerbors-servo <metajack+bors@gmail.com>2015-09-25 13:47:37 -0600
commitb7c003f1584375ba37006fedd773141a3d32d99c (patch)
treeb613685acee8c897f32446c35fade95dfeffaab5 /components/script/lib.rs
parent8027777e2409705b1d45cdd4c781e499fd5a7f0d (diff)
parent35d7ced89e164e778f9dd29ca5f8dc3a8aca8bdf (diff)
downloadservo-b7c003f1584375ba37006fedd773141a3d32d99c.tar.gz
servo-b7c003f1584375ba37006fedd773141a3d32d99c.zip
Auto merge of #7741 - Wafflespeanut:warning_fix, r=jdm
fixed the deprecated `as_slice` warning... I've put its original implementation from [`core/option.rs`](http://doc.servo.org/src/core/option.rs.html#692) instead of the dear departed `as_slice` <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7741) <!-- 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 1380502957e..40df1c66ed2 100644
--- a/components/script/lib.rs
+++ b/components/script/lib.rs
@@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#![feature(ascii)]
-#![feature(as_slice)]
#![feature(as_unsafe_cell)]
#![feature(borrow_state)]
#![feature(box_syntax)]