diff options
author | Nora Widdecke <nora@sequoia-pgp.org> | 2021-04-07 16:12:06 +0200 |
---|---|---|
committer | Nora Widdecke <nora@sequoia-pgp.org> | 2021-04-09 13:13:58 +0200 |
commit | a23a14d0471512d360364b69df51161e84c9e0d0 (patch) | |
tree | 96f9c3d1ba810656bc72788bb354d727772b4fb9 /sq | |
parent | 0c538f122d7a498a58f9b380b6be03a40f827c3e (diff) |
Lint: Remove redundant closures.
- https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
Diffstat (limited to 'sq')
-rw-r--r-- | sq/src/commands/keyring.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sq/src/commands/keyring.rs b/sq/src/commands/keyring.rs index a7083c1d..a0fc92d2 100644 --- a/sq/src/commands/keyring.rs +++ b/sq/src/commands/keyring.rs @@ -143,7 +143,7 @@ pub fn dispatch(config: Config, m: &clap::ArgMatches) -> Result<()> { config.create_or_stdout_pgp(m.value_of("output"), m.is_present("binary"), armor::Kind::PublicKey)?; - filter(m.values_of("input"), &mut output, |c| Some(c), false)?; + filter(m.values_of("input"), &mut output, Some, false)?; output.finalize() }, ("merge", Some(m)) => { |