From 7f607be5f3ed7b704594d9006c3b819ac9b641d0 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 8 Dec 2022 12:56:34 +0100 Subject: [PATCH] add some missing derives --- src/time.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/time.rs b/src/time.rs index b26fe15..ee9405b 100644 --- a/src/time.rs +++ b/src/time.rs @@ -238,7 +238,7 @@ pub mod cds { } /// Type level token to be used as a generic parameter to [TimeProvider]. - #[derive(Debug, PartialEq, Eq)] + #[derive(Debug, PartialEq, Eq, Default)] pub struct DaysLen16Bits {} impl Sealed for DaysLen16Bits {} @@ -247,6 +247,7 @@ pub mod cds { } /// Type level token to be used as a generic parameter to [TimeProvider]. + #[derive(Debug, PartialEq, Eq, Default)] pub struct DaysLen24Bits {} impl Sealed for DaysLen24Bits {} impl ProvidesDaysLength for DaysLen24Bits {