about summary refs log tree commit diff
path: root/src/libtime
diff options
context:
space:
mode:
Diffstat (limited to 'src/libtime')
-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 91e608360bc..a478aa931d4 100644
--- a/src/libtime/lib.rs
+++ b/src/libtime/lib.rs
@@ -74,7 +74,7 @@ mod imp {
 }
 
 /// A record specifying a time value in seconds and nanoseconds.
-#[deriving(Clone, PartialEq, TotalEq, PartialOrd, TotalOrd, Encodable, Decodable, Show)]
+#[deriving(Clone, PartialEq, Eq, PartialOrd, Ord, Encodable, Decodable, Show)]
 pub struct Timespec { pub sec: i64, pub nsec: i32 }
 /*
  * Timespec assumes that pre-epoch Timespecs have negative sec and positive