aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/lib.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2016-08-20 20:37:54 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2016-08-20 20:37:54 +0200
commit2e310f83ad53c919858230ffac429482ee44ef9a (patch)
tree134212c8bb41ea28c09eb2708ebe8a56d6f41515 /components/script/lib.rs
parentef2ee4646fedc45e37fdf16658a70c849744ed32 (diff)
downloadservo-2e310f83ad53c919858230ffac429482ee44ef9a.tar.gz
servo-2e310f83ad53c919858230ffac429482ee44ef9a.zip
Use feature try_borrow instead of borrow_state in script
Diffstat (limited to 'components/script/lib.rs')
-rw-r--r--components/script/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/lib.rs b/components/script/lib.rs
index e0605ebbf67..bf5e7807a80 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(as_unsafe_cell)]
-#![feature(borrow_state)]
#![feature(box_syntax)]
#![feature(conservative_impl_trait)]
#![feature(const_fn)]
@@ -19,6 +18,7 @@
#![feature(slice_patterns)]
#![feature(stmt_expr_attributes)]
#![feature(question_mark)]
+#![feature(try_borrow)]
#![feature(try_from)]
#![deny(unsafe_code)]