diff options
Diffstat (limited to 'bin/domain/imag-calendar/src/lib.rs')
-rw-r--r-- | bin/domain/imag-calendar/src/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/domain/imag-calendar/src/lib.rs b/bin/domain/imag-calendar/src/lib.rs index ff479757..ae0c8fdb 100644 --- a/bin/domain/imag-calendar/src/lib.rs +++ b/bin/domain/imag-calendar/src/lib.rs @@ -168,7 +168,7 @@ fn import(rt: &Runtime) -> Result<()> { .collect::<Result<Vec<_>>>()? .into_iter() .flatten() - .and_then_ok(|fle| rt.report_touched(fle.get_location()).map_err(Error::from)); + .and_then_ok(|fle| rt.report_touched(fle.get_location())); if do_fail { iter.collect() @@ -256,7 +256,7 @@ fn list(rt: &Runtime) -> Result<()> { }) .collect::<Result<Vec<_>>>()?; - rt.report_touched(parsed_entry.get_entry().get_location()).map_err(Error::from) + rt.report_touched(parsed_entry.get_entry().get_location()) }) .collect() } @@ -303,7 +303,7 @@ fn show(rt: &Runtime) -> Result<()> { }) .collect::<Result<Vec<_>>>()?; - rt.report_touched(parsed_entry.get_entry().get_location()).map_err(Error::from) + rt.report_touched(parsed_entry.get_entry().get_location()) }) .collect() } |