summaryrefslogtreecommitdiffstats
path: root/openpgp/src/cert.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/cert.rs
parent15429e90e6ec1ff1401500f592e8698a89b8cceb (diff)
openpgp: Use parens for assert_send_and_sync!.
Diffstat (limited to 'openpgp/src/cert.rs')
-rw-r--r--openpgp/src/cert.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/cert.rs b/openpgp/src/cert.rs
index fb6dedba..39a1f293 100644
--- a/openpgp/src/cert.rs
+++ b/openpgp/src/cert.rs
@@ -728,7 +728,7 @@ pub struct Cert {
bad: Vec<packet::Signature>,
}
} // doc-hack, see above
-assert_send_and_sync!{Cert}
+assert_send_and_sync!(Cert);
impl std::str::FromStr for Cert {
type Err = anyhow::Error;
@@ -2870,7 +2870,7 @@ pub struct ValidCert<'a> {
// The reference time.
time: time::SystemTime,
}
-assert_send_and_sync!{ValidCert<'_>}
+assert_send_and_sync!(ValidCert<'_>);
impl<'a> std::ops::Deref for ValidCert<'a> {
type Target = Cert;