summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2023-07-02 20:31:15 +0200
committerMatthias Beyer <mail@beyermatthias.de>2023-07-02 20:32:27 +0200
commitfc6fb3ce74e7ee1745bfff3563f1de43d632a1ef (patch)
tree407018c272da4837f2e1a7d6fbdb6deaf6fffc14
parentbeeeaef4bc388f5f67687b995c317d41100d0ab9 (diff)
Fix clippy: Remove redundant closureverify-metadata-check-header-layout
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--src/command/verify_metadata_command.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/verify_metadata_command.rs b/src/command/verify_metadata_command.rs
index 734a237..26eb38b 100644
--- a/src/command/verify_metadata_command.rs
+++ b/src/command/verify_metadata_command.rs
@@ -63,7 +63,7 @@ impl crate::command::Command for VerifyMetadataCommand {
multiple: errors,
})
})
- .map_err(|ve| Error::Verification(ve));
+ .map_err(Error::Verification);
Some(res)
})