diff options
author | Nora Widdecke <nora@sequoia-pgp.org> | 2021-11-25 19:58:39 +0100 |
---|---|---|
committer | Nora Widdecke <nora@sequoia-pgp.org> | 2021-11-29 11:53:56 +0100 |
commit | 7f55ca4fb8dc55ba82b170f776f3c5690e9c2824 (patch) | |
tree | b12f076eb13598021c2f14b2ec4b8a08ea94c97b /openpgp | |
parent | 1b0b03efa9e8c969bad5a786c9e7ed302db3bae5 (diff) |
openpgp: Lint clippy::into_iter_on_ref.
Diffstat (limited to 'openpgp')
-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 edb49c97..ef8a2db8 100644 --- a/openpgp/benches/common/decrypt.rs +++ b/openpgp/benches/common/decrypt.rs @@ -157,7 +157,7 @@ impl DecryptionHelper for CertHelper<'_> { .cloned() .filter_map(|key| { pkesks - .into_iter() + .iter() .find(|pkesk| pkesk.recipient() == &key.keyid()) .map(|pkesk| (pkesk, key)) }) |