Skip to content

Commit

Permalink
Merge pull request #254 from LuoZijun/patch-1
Browse files Browse the repository at this point in the history
Add Hash trait on FixedOffset
  • Loading branch information
quodlibetor authored Jun 24, 2018
2 parents 2370423 + a99dee6 commit e165a93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/offset/fixed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use super::{TimeZone, Offset, LocalResult};
/// on a `FixedOffset` struct is the preferred way to construct
/// `DateTime<FixedOffset>` instances. See the [`east`](#method.east) and
/// [`west`](#method.west) methods for examples.
#[derive(Copy, Clone, PartialEq, Eq)]
#[derive(PartialEq, Eq, Hash, Copy, Clone)]
pub struct FixedOffset {
local_minus_utc: i32,
}
Expand Down

0 comments on commit e165a93

Please sign in to comment.