diff options
author | Azul <azul@riseup.net> | 2020-12-08 09:29:18 +0100 |
---|---|---|
committer | Azul <azul@riseup.net> | 2020-12-08 12:51:56 +0100 |
commit | 6f77fb84cec4d3d62d3885ce6270919bc81419dc (patch) | |
tree | 4102eb7ebfa45ae5a94d705f652a025b4065d5a6 /openpgp/src/cert.rs | |
parent | 15429e90e6ec1ff1401500f592e8698a89b8cceb (diff) |
openpgp: Use parens for assert_send_and_sync!.
Diffstat (limited to 'openpgp/src/cert.rs')
-rw-r--r-- | openpgp/src/cert.rs | 4 |
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; |