Merge pull request #345 from ogham/exa/remove-unused-import

remove unused import
This commit is contained in:
Benjamin Sago 2018-03-11 09:43:33 +00:00 committed by GitHub
commit 48cdf22f46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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