From 7e718fe168b4019b210e2217ebe5f46c7603f544 Mon Sep 17 00:00:00 2001 From: Erick Tryzelaar Date: Wed, 5 Dec 2018 12:34:48 -0800 Subject: [PATCH] AsciiExt was deprecated in 1.26.0 --- src/client.rs | 1 - src/common.rs | 1 - src/request.rs | 2 -- src/response.rs | 1 - 4 files changed, 5 deletions(-) diff --git a/src/client.rs b/src/client.rs index 3eb502a06..6d25ccc05 100644 --- a/src/client.rs +++ b/src/client.rs @@ -13,7 +13,6 @@ // limitations under the License. use ascii::{AsciiString}; -use std::ascii::AsciiExt; use std::io::Error as IoError; use std::io::Result as IoResult; diff --git a/src/common.rs b/src/common.rs index e6d002886..847138c38 100644 --- a/src/common.rs +++ b/src/common.rs @@ -13,7 +13,6 @@ // limitations under the License. use ascii::{AsciiString, AsciiStr, FromAsciiError}; -use std::ascii::AsciiExt; use std::fmt::{self, Display, Formatter}; use std::str::{FromStr}; use std::cmp::Ordering; diff --git a/src/request.rs b/src/request.rs index 965f85fe1..7a34d4900 100644 --- a/src/request.rs +++ b/src/request.rs @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -use std::ascii::AsciiExt; - use std::io::Error as IoError; use std::io::{self, Cursor, Read, Write, ErrorKind}; diff --git a/src/response.rs b/src/response.rs index c40c12fec..568149181 100644 --- a/src/response.rs +++ b/src/response.rs @@ -14,7 +14,6 @@ use common::{Header, HTTPVersion, StatusCode, HTTPDate}; -use std::ascii::AsciiExt; use std::cmp::Ordering; use std::sync::mpsc::Receiver;