mirror of
https://github.com/actix/actix-web.git
synced 2024-12-04 23:36:34 +00:00
silence AsciiExt deprecation warn
This commit is contained in:
parent
68cf32e848
commit
052d5f0bc5
3 changed files with 4 additions and 3 deletions
|
@ -73,7 +73,7 @@ macro_rules! test_header {
|
||||||
($id:ident, $raw:expr) => {
|
($id:ident, $raw:expr) => {
|
||||||
#[test]
|
#[test]
|
||||||
fn $id() {
|
fn $id() {
|
||||||
#[allow(unused)]
|
#[allow(unused, deprecated)]
|
||||||
use std::ascii::AsciiExt;
|
use std::ascii::AsciiExt;
|
||||||
use test;
|
use test;
|
||||||
let raw = $raw;
|
let raw = $raw;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#![allow(unused)]
|
#![allow(unused, deprecated)]
|
||||||
use std::fmt::{self, Display};
|
use std::fmt::{self, Display};
|
||||||
use std::str::FromStr;
|
use std::str::FromStr;
|
||||||
|
use std::ascii::AsciiExt;
|
||||||
|
|
||||||
use self::Charset::*;
|
use self::Charset::*;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#![allow(unused)]
|
#![allow(unused, deprecated)]
|
||||||
use std::ascii::AsciiExt;
|
use std::ascii::AsciiExt;
|
||||||
use std::cmp;
|
use std::cmp;
|
||||||
use std::default::Default;
|
use std::default::Default;
|
||||||
|
|
Loading…
Reference in a new issue