From 419a5ffa77f1a887550dcf645c1415eaebb02909 Mon Sep 17 00:00:00 2001 From: flip1995 Date: Tue, 27 Aug 2019 10:43:38 +0200 Subject: [PATCH] [Auto] bin/core/mail: Fix Clippy warnings Signed-off-by: flip1995 Signed-off-by: Matthias Beyer --- bin/domain/imag-mail/src/main.rs | 2 +- bin/domain/imag-mail/src/ui.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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::>>()