Skip to content

Commit

Permalink
Correct warnings caused by AsciiExt
Browse files Browse the repository at this point in the history
  • Loading branch information
stewart committed Jan 15, 2018
1 parent ca2188e commit d765063
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/matcher.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use std::ascii::AsciiExt;
#[allow(unused_imports)] use std::ascii::AsciiExt;

/// Searches for needle's chars in the haystack
///
Expand Down
3 changes: 2 additions & 1 deletion src/terminal/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
// Licensed under the MIT license

use std::io::{Result, Error, ErrorKind};
use std::ascii::AsciiExt;
use std::str;

#[allow(unused_imports)] use std::ascii::AsciiExt;

#[derive(Debug)]
pub enum Event {
Key(Key),
Expand Down

0 comments on commit d765063

Please sign in to comment.