Keep using deprecated AsciiExt on old compilers

This commit is contained in:
David Tolnay 2018-03-25 12:45:04 +02:00
parent c1602a4d76
commit 273b2c11c6
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -7,7 +7,7 @@
// except according to those terms.
// See https://users.rust-lang.org/t/psa-dealing-with-warning-unused-import-std-ascii-asciiext-in-today-s-nightly/13726
#[allow(unused_imports)]
#[allow(deprecated, unused_imports)]
use std::ascii::AsciiExt;
use std::str::FromStr;