Skip to content

Commit

Permalink
Add PartialEq and Eq to get doc tests to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
Kurtis Nusbaum committed Feb 14, 2023
1 parent 864ca1c commit 2e070dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/offset/local/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ mod tz_info;
/// let dt: DateTime<Local> = Local::now();
/// let dt: DateTime<Local> = Local.timestamp(0, 0);
/// ```
#[derive(Copy, Clone, Debug)]
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
#[cfg_attr(feature = "rkyv", derive(Archive, Deserialize, Serialize))]
#[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))]
pub struct Local;
Expand Down

0 comments on commit 2e070dc

Please sign in to comment.