Browse Source

Auto merge of #210 - servo:unused, r=SimonSapin

Remove unused imports.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-url/210)
<!-- Reviewable:end -->
bors-servo 10 years ago
parent
commit
d6c83f2def
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/host.rs
  2. 1 1
      src/percent_encoding.rs

+ 1 - 1
src/host.rs

@@ -7,7 +7,7 @@
 // except according to those terms.
 
 use std::cmp;
-use std::fmt::{self, Formatter, Write};
+use std::fmt::{self, Formatter};
 use std::io;
 use std::net::{Ipv4Addr, Ipv6Addr, SocketAddr, SocketAddrV4, SocketAddrV6, ToSocketAddrs};
 use std::vec;

+ 1 - 1
src/percent_encoding.rs

@@ -9,7 +9,7 @@
 use encoding;
 use std::ascii::AsciiExt;
 use std::borrow::Cow;
-use std::fmt::{self, Write};
+use std::fmt;
 use std::slice;
 use std::str;