summaryrefslogtreecommitdiffstats
path: root/openpgp/src/packet/header/ctb.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/packet/header/ctb.rs')
-rw-r--r--openpgp/src/packet/header/ctb.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/openpgp/src/packet/header/ctb.rs b/openpgp/src/packet/header/ctb.rs
index 8dc2e949..2e32b41d 100644
--- a/openpgp/src/packet/header/ctb.rs
+++ b/openpgp/src/packet/header/ctb.rs
@@ -39,7 +39,7 @@ pub struct CTBNew {
/// Packet CTB fields
common: CTBCommon,
}
-assert_send_and_sync!{CTBNew}
+assert_send_and_sync!(CTBNew);
impl CTBNew {
/// Constructs a new-style CTB.
@@ -91,7 +91,7 @@ pub enum PacketLengthType {
/// from the context, e.g., EOF.
Indeterminate,
}
-assert_send_and_sync!{PacketLengthType}
+assert_send_and_sync!(PacketLengthType);
impl TryFrom<u8> for PacketLengthType {
type Error = anyhow::Error;
@@ -131,7 +131,7 @@ pub struct CTBOld {
/// Type of length specifier.
length_type: PacketLengthType,
}
-assert_send_and_sync!{CTBOld}
+assert_send_and_sync!(CTBOld);
impl CTBOld {
/// Constructs an old-style CTB.
@@ -207,7 +207,7 @@ pub enum CTB {
/// Old PGP 2.6 header format.
Old(CTBOld),
}
-assert_send_and_sync!{CTB}
+assert_send_and_sync!(CTB);
impl CTB {
/// Constructs a new-style CTB.