diff options
Diffstat (limited to 'autocrypt/src/lib.rs')
-rw-r--r-- | autocrypt/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autocrypt/src/lib.rs b/autocrypt/src/lib.rs index 7a51b5f3..fe56fd08 100644 --- a/autocrypt/src/lib.rs +++ b/autocrypt/src/lib.rs @@ -114,7 +114,7 @@ impl AutocryptHeader { // The primary key and the most recent selfsig. let primary = cert.primary_key().with_policy(policy, None)?; acc.push(primary.key().clone().into()); - primary.self_signatures().iter().take(1) + primary.self_signatures().take(1) .for_each(|s| acc.push(s.clone().into())); // The subkeys and the most recent selfsig. |