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 committed Sep 30, 2024
1 parent c8defc7 commit fd398b6
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(Debug, PartialEq, Eq, Hash, Copy, Clone)]
pub struct NaiveWeek {
date: NaiveDate,
start: Weekday,
Expand Down

0 comments on commit fd398b6

Please sign in to comment.