Use NonZeroU32 in canvas_traits

This commit is contained in:
Simon Sapin 2017-10-12 00:49:39 +02:00
parent ecf3b05153
commit 5e72173e8c
6 changed files with 16 additions and 5 deletions

View file

@ -4,17 +4,18 @@
#![crate_name = "canvas_traits"]
#![crate_type = "rlib"]
#![feature(nonzero)]
#![cfg_attr(feature = "unstable", feature(nonzero))]
#![deny(unsafe_code)]
extern crate core;
extern crate cssparser;
extern crate euclid;
extern crate heapsize;
#[macro_use] extern crate heapsize_derive;
extern crate ipc_channel;
#[macro_use] extern crate lazy_static;
extern crate nonzero;
extern crate offscreen_gl_context;
#[macro_use] extern crate serde;
extern crate servo_config;