1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-12-03 14:56:44 +00:00

silence AsciiExt deprecation warn

This commit is contained in:
Nikolay Kim 2018-03-26 16:12:25 -07:00
parent 68cf32e848
commit 052d5f0bc5
3 changed files with 4 additions and 3 deletions

View file

@ -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;

View file

@ -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::*;

View file

@ -1,4 +1,4 @@
#![allow(unused)]
#![allow(unused, deprecated)]
use std::ascii::AsciiExt;
use std::cmp;
use std::default::Default;