diff options
Diffstat (limited to 'openpgp/src/packet/user_attribute.rs')
-rw-r--r-- | openpgp/src/packet/user_attribute.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openpgp/src/packet/user_attribute.rs b/openpgp/src/packet/user_attribute.rs index ec44382a..851e3126 100644 --- a/openpgp/src/packet/user_attribute.rs +++ b/openpgp/src/packet/user_attribute.rs @@ -38,7 +38,7 @@ pub struct UserAttribute { /// The user attribute. value: Vec<u8>, } -assert_send_and_sync!{UserAttribute} +assert_send_and_sync!(UserAttribute); impl From<Vec<u8>> for UserAttribute { fn from(u: Vec<u8>) -> Self { @@ -118,7 +118,7 @@ impl Arbitrary for UserAttribute { pub struct SubpacketIterator<'a> { reader: buffered_reader::Memory<'a, ()>, } -assert_send_and_sync!{SubpacketIterator<'_>} +assert_send_and_sync!(SubpacketIterator<'_>); impl<'a> Iterator for SubpacketIterator<'a> { type Item = Result<Subpacket>; @@ -193,7 +193,7 @@ pub enum Subpacket { /// Unknown subpacket. Unknown(u8, Box<[u8]>), } -assert_send_and_sync!{Subpacket} +assert_send_and_sync!(Subpacket); #[cfg(test)] impl Arbitrary for Subpacket { @@ -227,7 +227,7 @@ pub enum Image { /// Unknown image format. Unknown(u8, Box<[u8]>), } -assert_send_and_sync!{Image} +assert_send_and_sync!(Image); #[cfg(test)] impl Arbitrary for Image { |