diff options
Diffstat (limited to 'openpgp/src/cert/bindings.rs')
-rw-r--r-- | openpgp/src/cert/bindings.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/cert/bindings.rs b/openpgp/src/cert/bindings.rs index 70e80983..52cc9527 100644 --- a/openpgp/src/cert/bindings.rs +++ b/openpgp/src/cert/bindings.rs @@ -37,7 +37,7 @@ impl<P: key::KeyParts> Key<P, key::SubordinateRole> { /// // Let's add an encryption subkey. /// let flags = KeyFlags::default().set_storage_encryption(true); /// assert_eq!(cert.keys().alive().revoked(false) - /// .key_flags(flags.clone()).count(), + /// .key_flags(&flags).count(), /// 0); /// /// // Generate a subkey and a binding signature. |