mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-28 01:52:57 +01:00
silence AsciiExt deprecation warn
This commit is contained in:
parent
68cf32e848
commit
052d5f0bc5
@ -73,7 +73,7 @@ macro_rules! test_header {
|
||||
($id:ident, $raw:expr) => {
|
||||
#[test]
|
||||
fn $id() {
|
||||
#[allow(unused)]
|
||||
#[allow(unused, deprecated)]
|
||||
use std::ascii::AsciiExt;
|
||||
use test;
|
||||
let raw = $raw;
|
||||
|
@ -1,6 +1,7 @@
|
||||
#![allow(unused)]
|
||||
#![allow(unused, deprecated)]
|
||||
use std::fmt::{self, Display};
|
||||
use std::str::FromStr;
|
||||
use std::ascii::AsciiExt;
|
||||
|
||||
use self::Charset::*;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#![allow(unused)]
|
||||
#![allow(unused, deprecated)]
|
||||
use std::ascii::AsciiExt;
|
||||
use std::cmp;
|
||||
use std::default::Default;
|
||||
|
Loading…
Reference in New Issue
Block a user