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/packet/userid.rs | |
parent | 15429e90e6ec1ff1401500f592e8698a89b8cceb (diff) |
openpgp: Use parens for assert_send_and_sync!.
Diffstat (limited to 'openpgp/src/packet/userid.rs')
-rw-r--r-- | openpgp/src/packet/userid.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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<RefCell<Option<ConventionallyParsedUserID>>>, } -assert_send_and_sync!{UserID} +assert_send_and_sync!(UserID); impl From<Vec<u8>> for UserID { fn from(u: Vec<u8>) -> Self { |