summaryrefslogtreecommitdiffstats
path: root/openpgp/src/parse/stream.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/parse/stream.rs
parent15429e90e6ec1ff1401500f592e8698a89b8cceb (diff)
openpgp: Use parens for assert_send_and_sync!.
Diffstat (limited to 'openpgp/src/parse/stream.rs')
-rw-r--r--openpgp/src/parse/stream.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/parse/stream.rs b/openpgp/src/parse/stream.rs
index e8bd8d42..3cb1ae78 100644
--- a/openpgp/src/parse/stream.rs
+++ b/openpgp/src/parse/stream.rs
@@ -231,7 +231,7 @@ pub struct GoodChecksum<'a> {
/// trustworthiness of the signature using a trust model.
pub ka: ValidErasedKeyAmalgamation<'a, key::PublicParts>,
}
-assert_send_and_sync!{GoodChecksum<'_>}
+assert_send_and_sync!(GoodChecksum<'_>);
/// A bad signature.
///
@@ -455,7 +455,7 @@ impl<'a> VerificationErrorInternal<'a> {
/// [test of unusual message structures]: https://tests.sequoia-pgp.org/#Unusual_Message_Structure
#[derive(Debug)]
pub struct MessageStructure<'a>(Vec<MessageLayer<'a>>);
-assert_send_and_sync!{MessageStructure<'_>}
+assert_send_and_sync!(MessageStructure<'_>);
impl<'a> MessageStructure<'a> {
fn new() -> Self {