blob: e4cddd6aaf91c50557ff2c1e0ac6ef42df768f4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -rauN exa/src/fs/file.rs exa-ascii-deprecated-patch/src/fs/file.rs
--- exa/src/fs/file.rs 2018-12-09 12:48:21.137587385 +0100
+++ exa-ascii-deprecated-patch/src/fs/file.rs 2018-12-09 12:59:07.048431583 +0100
@@ -95,8 +95,6 @@
/// against a pre-compiled list of extensions which are known to only exist
/// within ASCII, so it’s 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,
|