about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-08-03 09:56:07 +0000
committerbors <bors@rust-lang.org>2014-08-03 09:56:07 +0000
commit9a3b25fa9885e34213874dc63e9c436abc2a4a66 (patch)
tree59a1b98935d4e65bfb15b2072d9742c7b7fe5420
parented264286dda9640e46a99f4dc22ad36655e21ddc (diff)
parentcbf407c8d019bd9daee80ca5cadab0751870ed41 (diff)
downloadrust-9a3b25fa9885e34213874dc63e9c436abc2a4a66.tar.gz
rust-9a3b25fa9885e34213874dc63e9c436abc2a4a66.zip
auto merge of #16202 : db48x/rust/eq-for-time-tm, r=alexcrichton
-rw-r--r--src/libtime/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libtime/lib.rs b/src/libtime/lib.rs
index 9ac1e2a6157..56a22bb2add 100644
--- a/src/libtime/lib.rs
+++ b/src/libtime/lib.rs
@@ -203,7 +203,7 @@ pub fn tzset() {
 
 /// Holds a calendar date and time broken down into its components (year, month, day, and so on),
 /// also called a broken-down time value.
-#[deriving(Clone, PartialEq, Show)]
+#[deriving(Clone, PartialEq, Eq, Show)]
 pub struct Tm {
     /// Seconds after the minute - [0, 60]
     pub tm_sec: i32,