diff options
Diffstat (limited to 'bin/core/imag-view/src/lib.rs')
-rw-r--r-- | bin/core/imag-view/src/lib.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/core/imag-view/src/lib.rs b/bin/core/imag-view/src/lib.rs index d97d8711..b44f0283 100644 --- a/bin/core/imag-view/src/lib.rs +++ b/bin/core/imag-view/src/lib.rs @@ -56,7 +56,6 @@ use std::process::Command; use handlebars::Handlebars; use toml_query::read::TomlValueReadTypeExt; -use failure::Error; use failure::err_msg; use failure::Fallible as Result; use resiter::AndThen; @@ -186,7 +185,7 @@ impl ImagApplication for ImagView { viewer.view_entry(&entry, &mut outlock)?; i += 1; - rt.report_touched(entry.get_location()).map_err(Error::from) + rt.report_touched(entry.get_location()) }) .collect() } else { @@ -217,7 +216,7 @@ impl ImagApplication for ImagView { viewer.view_entry(&entry, &mut outlock)?; i += 1; - rt.report_touched(entry.get_location()).map_err(Error::from) + rt.report_touched(entry.get_location()) }) .collect() } |