Skip to content

Commit bc9283e

Browse files
committed
chore(header): allow deprecated AsciiExt usage
1 parent edde1af commit bc9283e

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

Diff for: src/header/common/link.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use std::fmt;
22
use std::borrow::Cow;
33
use std::str::FromStr;
4-
#[allow(unused)]
4+
#[allow(unused, deprecated)]
55
use std::ascii::AsciiExt;
66

77
use mime::Mime;

Diff for: src/header/common/pragma.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use std::fmt;
2-
#[allow(unused)]
2+
#[allow(unused, deprecated)]
33
use std::ascii::AsciiExt;
44

55
use header::{Header, Raw, parsing};

Diff for: src/header/common/referrer_policy.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use std::fmt;
2-
#[allow(unused)]
2+
#[allow(unused, deprecated)]
33
use std::ascii::AsciiExt;
44

55
use header::{Header, Raw, parsing};

Diff for: src/header/shared/charset.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use std::fmt::{self, Display};
22
use std::str::FromStr;
3-
#[allow(unused)]
3+
#[allow(unused, deprecated)]
44
use std::ascii::AsciiExt;
55

66
use self::Charset::*;

Diff for: src/header/shared/quality_item.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#[allow(unused)]
1+
#[allow(unused, deprecated)]
22
use std::ascii::AsciiExt;
33
use std::cmp;
44
use std::default::Default;

0 commit comments

Comments
 (0)