servo: Merge #18839 - Remove some usage of unstable features (from servo:stabler); r=nox

`Box::new(x)` seems to compile to exactly the same assembly as `box x` in release mode:
https://play.rust-lang.org/?gist=55ec5dd02c22fa799375d6e2e1a6e970&version=nightly

Source-Repo: https://github.com/servo/servo
Source-Revision: fc4de5adf5bff7fabe9f32b960c405f249b5d035
This commit is contained in:
Simon Sapin
2017-10-12 05:18:00 -05:00
parent 70ed5b7f7c
commit ff18ff343e
47 changed files with 224 additions and 217 deletions

View File

@@ -7,7 +7,6 @@
//! to depend on script.
#![deny(unsafe_code)]
#![feature(box_syntax)]
#![feature(nonzero)]
extern crate app_units;