diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2014-02-24 08:11:00 -0500 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2014-03-07 22:45:22 -0500 |
| commit | 4d7d101a76deea69e9078d9ed6bb93ecca70e52a (patch) | |
| tree | 3365108e59d5c6d4ee0655347ce3ed447cc7d016 /src/libextra/workcache.rs | |
| parent | 33768c46ec980a911284d77804e5e45ead6530eb (diff) | |
| download | rust-4d7d101a76deea69e9078d9ed6bb93ecca70e52a.tar.gz rust-4d7d101a76deea69e9078d9ed6bb93ecca70e52a.zip | |
create a sensible comparison trait hierarchy
* `Ord` inherits from `Eq` * `TotalOrd` inherits from `TotalEq` * `TotalOrd` inherits from `Ord` * `TotalEq` inherits from `Eq` This is a partial implementation of #12517.
Diffstat (limited to 'src/libextra/workcache.rs')
| -rw-r--r-- | src/libextra/workcache.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libextra/workcache.rs b/src/libextra/workcache.rs index 2a2493688e6..0d627317242 100644 --- a/src/libextra/workcache.rs +++ b/src/libextra/workcache.rs @@ -88,7 +88,7 @@ use std::io::{File, MemWriter}; * */ -#[deriving(Clone, Eq, Encodable, Decodable, TotalOrd, TotalEq)] +#[deriving(Clone, Eq, Encodable, Decodable, Ord, TotalOrd, TotalEq)] struct WorkKey { kind: ~str, name: ~str |
