remove unused import

This commit is contained in:
Ryan Leung 2018-01-31 15:05:20 +08:00
parent 0eb7966294
commit 7fb0347e93

View File

@ -95,8 +95,6 @@ impl<'dir> File<'dir> {
/// against a pre-compiled list of extensions which are known to only exist
/// within ASCII, so its alright.
fn ext(path: &Path) -> Option<String> {
use std::ascii::AsciiExt;
let name = match path.file_name() {
Some(f) => f.to_string_lossy().to_string(),
None => return None,