Skip to content

Commit 05a6ce6

Browse files
DSeeLPdjc
authored andcommitted
Derive PartialEq,Eq,Hash,Copy and Clone on NaiveWeek
1 parent c8defc7 commit 05a6ce6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/naive/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ pub use self::internals::YearFlags as __BenchYearFlags;
2929

3030
/// A week represented by a [`NaiveDate`] and a [`Weekday`] which is the first
3131
/// day of the week.
32-
#[derive(Debug)]
32+
#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)]
3333
pub struct NaiveWeek {
3434
date: NaiveDate,
3535
start: Weekday,

0 commit comments

Comments
 (0)