diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-04-06 10:12:32 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-04-06 10:19:20 +0200 |
commit | 1917874b132cb703d41df78a44654b1f47890ef0 (patch) | |
tree | 716af28b42088588a716de4e12147e16d1f8ce2a | |
parent | 4825b5f606d2bdbd5be8d4ea4ff518294ccfbd53 (diff) |
Fix clippy: Remove unnecessary "?" operator
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 932a290..3ba7fff 100644 --- a/src/main.rs +++ b/src/main.rs @@ -92,7 +92,7 @@ fn deserialize_package_list(s: String, filepath: &str) -> Result<Vec<ComparePack Ok(v) }, - other => Err(format_err!("Unknown file extension: {}", other))?, + other => Err(format_err!("Unknown file extension: {}", other)), } } |