cargo fix --edition-idioms

This commit is contained in:
Simon Sapin 2018-11-01 21:43:04 +01:00
parent b1fd6237d1
commit 2012be4a8b
203 changed files with 665 additions and 1281 deletions

View file

@ -4,15 +4,5 @@
#![cfg(test)]
extern crate gfx_traits;
extern crate ipc_channel;
extern crate layout;
extern crate metrics;
extern crate msg;
extern crate profile_traits;
extern crate servo_url;
extern crate time;
extern crate webrender_api;
mod interactive_time;
mod paint_time;

View file

@ -14,8 +14,5 @@ doctest = false
ipc-channel = "0.11"
profile = {path = "../../../components/profile"}
profile_traits = {path = "../../../components/profile_traits"}
# Work around https://github.com/alexcrichton/jemallocator/issues/19
servo_allocator = {path = "../../../components/allocator"}
servo_config = {path = "../../../components/config"}

View file

@ -4,10 +4,4 @@
#![cfg(test)]
extern crate ipc_channel;
extern crate profile;
extern crate profile_traits;
extern crate servo_allocator;
extern crate servo_config;
mod time;

View file

@ -2,15 +2,6 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#[cfg(test)]
extern crate euclid;
#[cfg(test)]
extern crate keyboard_types;
#[cfg(test)]
extern crate script;
#[cfg(test)]
extern crate servo_url;
#[cfg(test)]
mod headers;
#[cfg(test)]