diff --git a/bin/domain/imag-mail/src/main.rs b/bin/domain/imag-mail/src/main.rs index d60861f4..f43ac214 100644 --- a/bin/domain/imag-mail/src/main.rs +++ b/bin/domain/imag-mail/src/main.rs @@ -211,7 +211,7 @@ fn list(rt: &Runtime) { ).to_exit_code().unwrap_or_exit(); } - let _ = rt.report_touched(m.get_location()).unwrap_or_exit(); + rt.report_touched(m.get_location()).unwrap_or_exit(); } if rt.ids_from_stdin() { diff --git a/bin/domain/imag-mail/src/ui.rs b/bin/domain/imag-mail/src/ui.rs index f06c1e67..82880200 100644 --- a/bin/domain/imag-mail/src/ui.rs +++ b/bin/domain/imag-mail/src/ui.rs @@ -83,7 +83,6 @@ impl IdPathProvider for PathProvider { fn get_ids(matches: &ArgMatches) -> Result>> { matches.values_of("list-id") .map(|v| v - .into_iter() .map(PathBuf::from) .map(|pb| pb.into_storeid()) .collect::>>()