diff options
author | Nora Widdecke <nora@sequoia-pgp.org> | 2021-11-25 19:20:34 +0100 |
---|---|---|
committer | Nora Widdecke <nora@sequoia-pgp.org> | 2021-11-29 11:53:56 +0100 |
commit | 16f7b6f92eb918a9ad258ca012959f338ac7e5d2 (patch) | |
tree | 5f1f34b541ecfb5600ba17b58b07b5ac7e3946df /openpgp/benches | |
parent | f6a28555c2682c700165404d5f1944122b969f76 (diff) |
Remove unnecessary conversions.
- Found with clippy::useless_conversion.
Diffstat (limited to 'openpgp/benches')
-rw-r--r-- | openpgp/benches/common/decrypt.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/benches/common/decrypt.rs b/openpgp/benches/common/decrypt.rs index 6f73e6d4..edb49c97 100644 --- a/openpgp/benches/common/decrypt.rs +++ b/openpgp/benches/common/decrypt.rs @@ -147,7 +147,7 @@ impl DecryptionHelper for CertHelper<'_> { .for_transport_encryption() .for_storage_encryption() .secret() - .map(|amalgamation| amalgamation.key().clone().into()) + .map(|amalgamation| amalgamation.key().clone()) .collect(); // check that pkesk has right recipient |