diff --git a/src/fs/file.rs b/src/fs/file.rs index 97b3cd6..ad643d7 100644 --- a/src/fs/file.rs +++ b/src/fs/file.rs @@ -95,6 +95,7 @@ impl<'dir> File<'dir> { /// against a pre-compiled list of extensions which are known to only exist /// within ASCII, so it’s alright. fn ext(path: &Path) -> Option { + #[allow(unused)] use std::ascii::AsciiExt; let name = match path.file_name() {