summaryrefslogtreecommitdiffstats
path: root/sqv
diff options
context:
space:
mode:
authorNora Widdecke <nora@sequoia-pgp.org>2021-04-07 16:12:06 +0200
committerNora Widdecke <nora@sequoia-pgp.org>2021-04-09 13:13:58 +0200
commita23a14d0471512d360364b69df51161e84c9e0d0 (patch)
tree96f9c3d1ba810656bc72788bb354d727772b4fb9 /sqv
parent0c538f122d7a498a58f9b380b6be03a40f827c3e (diff)
Lint: Remove redundant closures.
- https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
Diffstat (limited to 'sqv')
-rw-r--r--sqv/src/sqv.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/sqv/src/sqv.rs b/sqv/src/sqv.rs
index f84cef9e..2ba9765a 100644
--- a/sqv/src/sqv.rs
+++ b/sqv/src/sqv.rs
@@ -274,7 +274,7 @@ fn main() -> Result<()> {
.into())
} else {
None
- }.unwrap_or_else(|| std::time::SystemTime::now());
+ }.unwrap_or_else(std::time::SystemTime::now);
let keyrings = matches.values_of_os("keyring")
.expect("No keyring specified.");