summaryrefslogtreecommitdiffstats
path: root/openpgp/src/armor.rs
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2020-12-08 09:29:18 +0100
committerAzul <azul@riseup.net>2020-12-08 12:51:56 +0100
commit6f77fb84cec4d3d62d3885ce6270919bc81419dc (patch)
tree4102eb7ebfa45ae5a94d705f652a025b4065d5a6 /openpgp/src/armor.rs
parent15429e90e6ec1ff1401500f592e8698a89b8cceb (diff)
openpgp: Use parens for assert_send_and_sync!.
Diffstat (limited to 'openpgp/src/armor.rs')
-rw-r--r--openpgp/src/armor.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/armor.rs b/openpgp/src/armor.rs
index 0c434070..3f14cb00 100644
--- a/openpgp/src/armor.rs
+++ b/openpgp/src/armor.rs
@@ -72,7 +72,7 @@ pub enum Kind {
File,
}
-assert_send_and_sync!{Kind}
+assert_send_and_sync!(Kind);
#[cfg(test)]
impl Arbitrary for Kind {
@@ -173,7 +173,7 @@ pub struct Writer<W: Write> {
header: Vec<u8>,
dirty: bool,
}
-assert_send_and_sync!{Writer<W>, W: Write}
+assert_send_and_sync!(Writer<W>, W: Write);
impl<W: Write> Writer<W> {
/// Constructs a new filter for the given type of data.