diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2018-11-01 21:43:04 +0100 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2018-11-08 09:28:00 +0100 |
commit | 2012be4a8bd97f2fd69f986c8fffb1af1eec21dc (patch) | |
tree | c9f1ef91146253f72987cb1436866523880965e0 /components/devtools_traits/lib.rs | |
parent | b1fd6237d1304f3d57abdafd3e6e738c1ece9f83 (diff) | |
download | servo-2012be4a8bd97f2fd69f986c8fffb1af1eec21dc.tar.gz servo-2012be4a8bd97f2fd69f986c8fffb1af1eec21dc.zip |
`cargo fix --edition-idioms`
Diffstat (limited to 'components/devtools_traits/lib.rs')
-rw-r--r-- | components/devtools_traits/lib.rs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/components/devtools_traits/lib.rs b/components/devtools_traits/lib.rs index dc0979f580c..e0280345169 100644 --- a/components/devtools_traits/lib.rs +++ b/components/devtools_traits/lib.rs @@ -13,16 +13,10 @@ #[macro_use] extern crate bitflags; -extern crate http; -extern crate ipc_channel; -extern crate malloc_size_of; #[macro_use] extern crate malloc_size_of_derive; -extern crate msg; #[macro_use] extern crate serde; -extern crate servo_url; -extern crate time; use http::method::Method; use http::HeaderMap; @@ -30,8 +24,7 @@ use ipc_channel::ipc::IpcSender; use msg::constellation_msg::PipelineId; use servo_url::ServoUrl; use std::net::TcpStream; -use time::Duration; -use time::Tm; +use time::{self, Duration, Tm}; // Information would be attached to NewGlobal to be received and show in devtools. // Extend these fields if we need more information. |