Skip to content

Commit

Permalink
Derive PartialEq,Eq,Hash,Copy and Clone on NaiveWeek
Browse files Browse the repository at this point in the history
  • Loading branch information
DSeeLP authored and djc committed Oct 1, 2024
1 parent c8defc7 commit 05a6ce6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/naive/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 05a6ce6

Please sign in to comment.