aboutsummaryrefslogtreecommitdiffstats
path: root/components/url
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2018-11-07 17:08:14 +0100
committerSimon Sapin <simon.sapin@exyr.org>2018-11-08 09:29:52 +0100
commit9f977c52878e3638f475ca9a78e9f57d0d22893d (patch)
treeb1a3c3010e6c29c4f9d86930f948116b6bf27a93 /components/url
parent50c840fe42f4bf91019e9e585ee9c1c85cde232e (diff)
downloadservo-9f977c52878e3638f475ca9a78e9f57d0d22893d.tar.gz
servo-9f977c52878e3638f475ca9a78e9f57d0d22893d.zip
Remove useless `use crate_name;` imports.
A `crate_name::foo` path always works in 2018
Diffstat (limited to 'components/url')
-rw-r--r--components/url/lib.rs1
-rw-r--r--components/url/origin.rs2
2 files changed, 0 insertions, 3 deletions
diff --git a/components/url/lib.rs b/components/url/lib.rs
index 7ec15b05d7b..0bd4555ea6c 100644
--- a/components/url/lib.rs
+++ b/components/url/lib.rs
@@ -23,7 +23,6 @@ use std::ops::{Index, Range, RangeFrom, RangeFull, RangeTo};
use std::path::Path;
use std::sync::Arc;
use url::{Position, Url};
-use url_serde;
pub use url::Host;
diff --git a/components/url/origin.rs b/components/url/origin.rs
index 9d1ef7e08f3..4e3755e15db 100644
--- a/components/url/origin.rs
+++ b/components/url/origin.rs
@@ -2,11 +2,9 @@
* 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/. */
-use servo_rand;
use std::cell::RefCell;
use std::rc::Rc;
use url::{Host, Origin};
-use url_serde;
use uuid::Uuid;
/// The origin of an URL