Skip to content

Commit

Permalink
chore(header): allow deprecated AsciiExt usage
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed Apr 3, 2018
1 parent edde1af commit bc9283e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/header/common/link.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use std::fmt;
use std::borrow::Cow;
use std::str::FromStr;
#[allow(unused)]
#[allow(unused, deprecated)]
use std::ascii::AsciiExt;

use mime::Mime;
Expand Down
2 changes: 1 addition & 1 deletion src/header/common/pragma.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use std::fmt;
#[allow(unused)]
#[allow(unused, deprecated)]
use std::ascii::AsciiExt;

use header::{Header, Raw, parsing};
Expand Down
2 changes: 1 addition & 1 deletion src/header/common/referrer_policy.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use std::fmt;
#[allow(unused)]
#[allow(unused, deprecated)]
use std::ascii::AsciiExt;

use header::{Header, Raw, parsing};
Expand Down
2 changes: 1 addition & 1 deletion src/header/shared/charset.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::fmt::{self, Display};
use std::str::FromStr;
#[allow(unused)]
#[allow(unused, deprecated)]
use std::ascii::AsciiExt;

use self::Charset::*;
Expand Down
2 changes: 1 addition & 1 deletion src/header/shared/quality_item.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#[allow(unused)]
#[allow(unused, deprecated)]
use std::ascii::AsciiExt;
use std::cmp;
use std::default::Default;
Expand Down

0 comments on commit bc9283e

Please sign in to comment.