[Auto] bin/core/mail: Fix Clippy warnings
Signed-off-by: flip1995 <hello@philkrones.com> Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
a02883511b
commit
419a5ffa77
2 changed files with 1 additions and 2 deletions
|
@ -211,7 +211,7 @@ fn list(rt: &Runtime) {
|
||||||
).to_exit_code().unwrap_or_exit();
|
).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() {
|
if rt.ids_from_stdin() {
|
||||||
|
|
|
@ -83,7 +83,6 @@ impl IdPathProvider for PathProvider {
|
||||||
fn get_ids(matches: &ArgMatches) -> Result<Option<Vec<StoreId>>> {
|
fn get_ids(matches: &ArgMatches) -> Result<Option<Vec<StoreId>>> {
|
||||||
matches.values_of("list-id")
|
matches.values_of("list-id")
|
||||||
.map(|v| v
|
.map(|v| v
|
||||||
.into_iter()
|
|
||||||
.map(PathBuf::from)
|
.map(PathBuf::from)
|
||||||
.map(|pb| pb.into_storeid())
|
.map(|pb| pb.into_storeid())
|
||||||
.collect::<Result<Vec<_>>>()
|
.collect::<Result<Vec<_>>>()
|
||||||
|
|
Loading…
Reference in a new issue