diff options
Diffstat (limited to 'src/libstd/string.rs')
| -rw-r--r-- | src/libstd/string.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/string.rs b/src/libstd/string.rs index 29d3c718682..80973bb5328 100644 --- a/src/libstd/string.rs +++ b/src/libstd/string.rs @@ -30,7 +30,7 @@ use str; use vec::Vec; /// A growable string stored as a UTF-8 encoded buffer. -#[deriving(Clone, PartialEq, PartialOrd, TotalEq, TotalOrd)] +#[deriving(Clone, PartialEq, PartialOrd, Eq, Ord)] pub struct String { vec: Vec<u8>, } |
