Skip to content

Commit

Permalink
Resolve compiler warnings on nightly rust
Browse files Browse the repository at this point in the history
  • Loading branch information
smangelsdorf committed Dec 5, 2017
1 parent 867dd78 commit 42c21a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 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;
Expand Down
2 changes: 2 additions & 0 deletions src/http/header/x_frame_options.rs
Expand Up @@ -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;
Expand Down

0 comments on commit 42c21a1

Please sign in to comment.