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

@@ -32,7 +32,7 @@ class MachCommands(CommandBase):
self.set_use_stable_rust()
crate_dir = path.join('ports', 'geckolib')
else:
crate_dir = path.join('components', 'servo')
crate_dir = path.join('ports', 'servo')
self.ensure_bootstrapped()
self.ensure_clobbered()