diff options
author | Heiko Schaefer <heiko@schaefer.name> | 2022-10-05 18:31:20 +0200 |
---|---|---|
committer | Heiko Schaefer <heiko@schaefer.name> | 2022-10-07 11:55:34 +0200 |
commit | e4008cb0577536b6bedf6f808745f21cddf12f29 (patch) | |
tree | caa2fa04f8d46be544635616181a196198feff40 | |
parent | f4b3b79ee08fe04c8aa690115de854f06572f729 (diff) |
openpgp: make effect of the code more obvious to readers.
Sponsored-by: pep.foundation
-rw-r--r-- | openpgp/src/cert/amalgamation.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/cert/amalgamation.rs b/openpgp/src/cert/amalgamation.rs index 39031a4f..61f38991 100644 --- a/openpgp/src/cert/amalgamation.rs +++ b/openpgp/src/cert/amalgamation.rs @@ -1002,7 +1002,7 @@ impl<'a> UserIDAmalgamation<'a> { let old = self.clone() .with_policy(policy, None) .ok() - .and_then(|v| v.attestation_key_signatures().cloned().next()); + .and_then(|v| v.attestation_key_signatures().next().cloned()); attest_certifications_common(hash, old, primary_signer, certifications) } @@ -1060,7 +1060,7 @@ impl<'a> UserAttributeAmalgamation<'a> { let old = self.clone() .with_policy(policy, None) .ok() - .and_then(|v| v.attestation_key_signatures().cloned().next()); + .and_then(|v| v.attestation_key_signatures().next().cloned()); attest_certifications_common(hash, old, primary_signer, certifications) } |