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/policy.rs | |
parent | 15429e90e6ec1ff1401500f592e8698a89b8cceb (diff) |
openpgp: Use parens for assert_send_and_sync!.
Diffstat (limited to 'openpgp/src/policy.rs')
-rw-r--r-- | openpgp/src/policy.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/policy.rs b/openpgp/src/policy.rs index 4920317b..2a891fd2 100644 --- a/openpgp/src/policy.rs +++ b/openpgp/src/policy.rs @@ -188,7 +188,7 @@ pub struct StandardPolicy<'a> { asymmetric_algos: AsymmetricAlgorithmCutoffList, } -assert_send_and_sync!{StandardPolicy<'_>} +assert_send_and_sync!(StandardPolicy<'_>); impl<'a> Default for StandardPolicy<'a> { fn default() -> Self { @@ -956,7 +956,7 @@ impl From<AsymmetricAlgorithm> for u8 { pub struct NullPolicy { } -assert_send_and_sync!{NullPolicy} +assert_send_and_sync!(NullPolicy); impl NullPolicy { /// Instantiates a new `NullPolicy`. |