about summary refs log tree commit diff
path: root/src/libstd/string.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/string.rs')
-rw-r--r--src/libstd/string.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/string.rs b/src/libstd/string.rs
index 0edbaf99210..29d3c718682 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, Eq, Ord, TotalEq, TotalOrd)]
+#[deriving(Clone, PartialEq, PartialOrd, TotalEq, TotalOrd)]
 pub struct String {
     vec: Vec<u8>,
 }