diff options
author | Azul <azul@riseup.net> | 2020-12-08 10:34:21 +0100 |
---|---|---|
committer | Azul <azul@riseup.net> | 2020-12-08 12:51:56 +0100 |
commit | 96dfdae428197dd180cf10cff54b96ce8bc35d7b (patch) | |
tree | 8d57c13921fdbc95bd3e0438e496d240a42676f2 /openpgp/src/cert/parser/low_level/mod.rs | |
parent | 6f77fb84cec4d3d62d3885ce6270919bc81419dc (diff) |
openpgp: Add assert_send_and_sync! for more types.
- All types that are `Send` and `Sync` are checked now.
- Fixes #627.
Diffstat (limited to 'openpgp/src/cert/parser/low_level/mod.rs')
-rw-r--r-- | openpgp/src/cert/parser/low_level/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openpgp/src/cert/parser/low_level/mod.rs b/openpgp/src/cert/parser/low_level/mod.rs index a1cd2002..b89ce7bf 100644 --- a/openpgp/src/cert/parser/low_level/mod.rs +++ b/openpgp/src/cert/parser/low_level/mod.rs @@ -74,6 +74,7 @@ pub enum CertParserError { /// An OpenPGP error. OpenPGP(Error), } +assert_send_and_sync!(CertParserError); impl From<CertParserError> for anyhow::Error { fn from(err: CertParserError) -> Self { |