summaryrefslogtreecommitdiffstats
path: root/src/core.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.rs')
-rw-r--r--src/core.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core.rs b/src/core.rs
index 6a120b3..57f653d 100644
--- a/src/core.rs
+++ b/src/core.rs
@@ -4,7 +4,6 @@ use crate::flags::{Display, Flags, IconTheme, Layout, WhenFlag};
use crate::icon::{self, Icons};
use crate::meta::Meta;
use crate::{print_error, print_output, sort};
-use std::fs;
use std::path::PathBuf;
#[cfg(not(target_os = "windows"))]
@@ -83,11 +82,6 @@ impl Core {
};
for path in paths {
- if let Err(err) = fs::canonicalize(&path) {
- print_error!("cannot access '{}': {}", path.display(), err);
- continue;
- }
-
let mut meta = match Meta::from_path(&path) {
Ok(meta) => meta,
Err(err) => {