From a99dee655e1ea71a557099f7b4f678b5519aae0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AF=A7=E9=9D=9C?= Date: Tue, 19 Jun 2018 08:42:37 +0800 Subject: [PATCH] Update fixed.rs --- src/offset/fixed.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, }