From 6f77fb84cec4d3d62d3885ce6270919bc81419dc Mon Sep 17 00:00:00 2001 From: Azul Date: Tue, 8 Dec 2020 09:29:18 +0100 Subject: openpgp: Use parens for assert_send_and_sync!. --- openpgp/src/packet/userid.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openpgp/src/packet/userid.rs') diff --git a/openpgp/src/packet/userid.rs b/openpgp/src/packet/userid.rs index a0962b8c..44e9b510 100644 --- a/openpgp/src/packet/userid.rs +++ b/openpgp/src/packet/userid.rs @@ -26,7 +26,7 @@ pub struct ConventionallyParsedUserID { email: Option<(usize, usize)>, uri: Option<(usize, usize)>, } -assert_send_and_sync!{ConventionallyParsedUserID} +assert_send_and_sync!(ConventionallyParsedUserID); impl ConventionallyParsedUserID { /// Parses the userid according to the usual conventions. @@ -476,7 +476,7 @@ pub struct UserID { parsed: Mutex>>, } -assert_send_and_sync!{UserID} +assert_send_and_sync!(UserID); impl From> for UserID { fn from(u: Vec) -> Self { -- cgit v1.2.3