Corey Farwell 10 лет назад
Родитель
Сommit
4b81f1e5d9
2 измененных файлов с 2 добавлено и 2 удалено
  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;