Skip to content

Commit

Permalink
Add the last missing AsciiExt to tag allow deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
guangie88 committed Apr 4, 2018
1 parent 027576a commit b04a3b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ macro_rules! arg_enum {
type Err = String;

fn from_str(s: &str) -> ::std::result::Result<Self,Self::Err> {
#[allow(unused_imports)]
#[allow(deprecated, unused_imports)]
use ::std::ascii::AsciiExt;
match s {
$(stringify!($v) |
Expand Down

0 comments on commit b04a3b9

Please sign in to comment.