aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_thread/lib.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2017-10-12 02:00:33 +0200
committerSimon Sapin <simon.sapin@exyr.org>2017-10-13 11:11:02 +0200
commit7ebedd02a9b8da03c9b5d5d8ff876beeedeb7ecf (patch)
tree64740d252d20c7b6e4add4433171776fca4e577b /components/layout_thread/lib.rs
parentff23a8536e53fda502dc17f8e9b3d32554ed1264 (diff)
downloadservo-7ebedd02a9b8da03c9b5d5d8ff876beeedeb7ecf.tar.gz
servo-7ebedd02a9b8da03c9b5d5d8ff876beeedeb7ecf.zip
Use NonZeroUsize in script_layout_interface
Diffstat (limited to 'components/layout_thread/lib.rs')
-rw-r--r--components/layout_thread/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout_thread/lib.rs b/components/layout_thread/lib.rs
index 8ea36ae100f..1fe552588bf 100644
--- a/components/layout_thread/lib.rs
+++ b/components/layout_thread/lib.rs
@@ -6,11 +6,10 @@
//! painted.
#![feature(mpsc_select)]
-#![feature(nonzero)]
+#![cfg_attr(feature = "unstable", feature(nonzero))]
extern crate app_units;
extern crate atomic_refcell;
-extern crate core;
extern crate euclid;
extern crate fnv;
extern crate gfx;
@@ -29,6 +28,7 @@ extern crate log;
extern crate metrics;
extern crate msg;
extern crate net_traits;
+extern crate nonzero;
extern crate parking_lot;
#[macro_use]
extern crate profile_traits;