diff --git a/src/naive/mod.rs b/src/naive/mod.rs index 2e7d6fd1d..83ab69c4c 100644 --- a/src/naive/mod.rs +++ b/src/naive/mod.rs @@ -29,7 +29,7 @@ pub use self::internals::YearFlags as __BenchYearFlags; /// A week represented by a [`NaiveDate`] and a [`Weekday`] which is the first /// day of the week. -#[derive(Debug)] +#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] pub struct NaiveWeek { date: NaiveDate, start: Weekday,