From 7ebedd02a9b8da03c9b5d5d8ff876beeedeb7ecf Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Thu, 12 Oct 2017 02:00:33 +0200 Subject: Use NonZeroUsize in script_layout_interface --- components/layout_thread/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'components/layout_thread/lib.rs') 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; -- cgit v1.2.3