diff options
| author | Daniel Brooks <db48x@db48x.net> | 2014-08-02 10:25:32 -0700 |
|---|---|---|
| committer | Daniel Brooks <db48x@db48x.net> | 2014-08-02 10:25:32 -0700 |
| commit | cbf407c8d019bd9daee80ca5cadab0751870ed41 (patch) | |
| tree | 40336f6a992e21c106c56e30454a9a9afb4d6027 /src | |
| parent | 5bad333fec6577e9581b1925ec1d8f25ec65b9f0 (diff) | |
| download | rust-cbf407c8d019bd9daee80ca5cadab0751870ed41.tar.gz rust-cbf407c8d019bd9daee80ca5cadab0751870ed41.zip | |
time::Tm should impl Eq in addition to PartialEq
Diffstat (limited to 'src')
| -rw-r--r-- | src/libtime/lib.rs | 2 |
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, |
