diff --git a/src/http/header/x_content_type_options.rs b/src/http/header/x_content_type_options.rs index e056253cc..46638166e 100644 --- a/src/http/header/x_content_type_options.rs +++ b/src/http/header/x_content_type_options.rs @@ -1,6 +1,8 @@ //! Define the X-Content-Type-Options header. use std::fmt; +// TODO: Remove when this import isn't required in stable anymore. +#[allow(unused_imports)] use std::ascii::AsciiExt; use hyper; diff --git a/src/http/header/x_frame_options.rs b/src/http/header/x_frame_options.rs index ff603bc99..092fd14f2 100644 --- a/src/http/header/x_frame_options.rs +++ b/src/http/header/x_frame_options.rs @@ -2,6 +2,8 @@ use std::fmt; use std::str::FromStr; +// TODO: Remove when this import isn't required in stable anymore. +#[allow(unused_imports)] use std::ascii::AsciiExt; use hyper;