diff options
author | Azul <azul@riseup.net> | 2020-12-07 16:30:52 +0100 |
---|---|---|
committer | Azul <azul@riseup.net> | 2020-12-08 10:36:50 +0100 |
commit | 52794155913ce1fa78ce01a41b29c67e721e9847 (patch) | |
tree | 1d1d5776f8aca2594031916fe9179aa90e41ed8c /openpgp/src/cert/amalgamation.rs | |
parent | 88df27d0ae174b87e980371c5600d470516ed116 (diff) |
openpgp: Require Policies to be Send and Sync.
- This ensures that all types with Policies (`Valid*`) are `Send` and `Sync`.
Diffstat (limited to 'openpgp/src/cert/amalgamation.rs')
-rw-r--r-- | openpgp/src/cert/amalgamation.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openpgp/src/cert/amalgamation.rs b/openpgp/src/cert/amalgamation.rs index 69da539a..2cac62e2 100644 --- a/openpgp/src/cert/amalgamation.rs +++ b/openpgp/src/cert/amalgamation.rs @@ -1078,6 +1078,7 @@ pub struct ValidComponentAmalgamation<'a, C> { // The binding signature at time `time`. (This is just a cache.) binding_signature: &'a Signature, } +assert_send_and_sync!{ValidComponentAmalgamation<'_, C>, C} /// A Valid User ID and its associated data. /// |