summaryrefslogtreecommitdiffstats
path: root/openpgp/src/cert.rs
diff options
context:
space:
mode:
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;