diff --git a/src/offset/fixed.rs b/src/offset/fixed.rs index b4b1eb6..ef861ce 100644 --- a/src/offset/fixed.rs +++ b/src/offset/fixed.rs @@ -19,7 +19,7 @@ use super::{TimeZone, Offset, LocalResult}; /// on a `FixedOffset` struct is the preferred way to construct /// `DateTime` 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, }