Skip to content

Commit

Permalink
time::Tm should impl Eq in addition to PartialEq
Browse files Browse the repository at this point in the history
  • Loading branch information
db48x committed Aug 2, 2014
1 parent 5bad333 commit cbf407c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libtime/lib.rs
Expand Up @@ -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,
Expand Down

5 comments on commit cbf407c

@bors
Copy link
Contributor

@bors bors commented on cbf407c Aug 3, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from alexcrichton
at db48x@cbf407c

@bors
Copy link
Contributor

@bors bors commented on cbf407c Aug 3, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging db48x/rust/eq-for-time-tm = cbf407c into auto

@bors
Copy link
Contributor

@bors bors commented on cbf407c Aug 3, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

db48x/rust/eq-for-time-tm = cbf407c merged ok, testing candidate = 9a3b25f

@bors
Copy link
Contributor

@bors bors commented on cbf407c Aug 3, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 9a3b25f

Please sign in to comment.