summaryrefslogtreecommitdiffstats
path: root/openpgp/src/fmt.rs
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2020-12-04 20:06:17 +0100
committerAzul <azul@riseup.net>2020-12-08 10:35:58 +0100
commitb956d36cb50cac28aa9da0e373fb33c9a4c120af (patch)
treec20bb42230aed97494b6abe494bc8e22053f58a6 /openpgp/src/fmt.rs
parent4a971af5abe70d41485df141a3d9fa97eaab5f1c (diff)
openpgp: Ensure public types are Send and Sync.
- See #627.
Diffstat (limited to 'openpgp/src/fmt.rs')
-rw-r--r--openpgp/src/fmt.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/openpgp/src/fmt.rs b/openpgp/src/fmt.rs
index d36217d2..c06c6faf 100644
--- a/openpgp/src/fmt.rs
+++ b/openpgp/src/fmt.rs
@@ -61,6 +61,8 @@ pub mod hex {
offset: usize,
}
+ assert_send_and_sync!{Dumper<Vec<u8>>}
+
impl<W: io::Write> Dumper<W> {
/// Creates a new dumper.
///