diff options
Diffstat (limited to 'openpgp/src/types/timestamp.rs')
-rw-r--r-- | openpgp/src/types/timestamp.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/types/timestamp.rs b/openpgp/src/types/timestamp.rs index c34ff1cd..90fa4980 100644 --- a/openpgp/src/types/timestamp.rs +++ b/openpgp/src/types/timestamp.rs @@ -63,7 +63,7 @@ use crate::{ /// [`Timestamp::round_down`]: ../types/struct.Timestamp.html#method.round_down #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)] pub struct Timestamp(u32); -assert_send_and_sync!{Timestamp} +assert_send_and_sync!(Timestamp); impl From<Timestamp> for u32 { fn from(t: Timestamp) -> Self { @@ -281,7 +281,7 @@ impl Arbitrary for Timestamp { /// ``` #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)] pub struct Duration(u32); -assert_send_and_sync!{Duration} +assert_send_and_sync!(Duration); impl From<Duration> for u32 { fn from(d: Duration) -> Self { |