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/armor.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/armor.rs')
-rw-r--r-- | openpgp/src/armor.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/armor.rs b/openpgp/src/armor.rs index 3f14cb00..c3002e7f 100644 --- a/openpgp/src/armor.rs +++ b/openpgp/src/armor.rs @@ -71,7 +71,6 @@ pub enum Kind { /// A generic file. This is a GnuPG extension. File, } - assert_send_and_sync!(Kind); #[cfg(test)] @@ -452,6 +451,7 @@ pub enum ReaderMode { /// text that the user cut and pasted into a text area. VeryTolerant, } +assert_send_and_sync!(ReaderMode); /// A filter that strips ASCII Armor from a stream of data. pub struct Reader<'a> { |