about summary refs log tree commit diff
path: root/src/test/bench
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/bench')
-rw-r--r--src/test/bench/shootout-k-nucleotide.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/bench/shootout-k-nucleotide.rs b/src/test/bench/shootout-k-nucleotide.rs
index 45cd93188b2..6c038e28bb9 100644
--- a/src/test/bench/shootout-k-nucleotide.rs
+++ b/src/test/bench/shootout-k-nucleotide.rs
@@ -30,7 +30,7 @@ static OCCURRENCES: [&'static str, ..5] = [
 
 // Code implementation
 
-#[deriving(PartialEq, PartialOrd, TotalOrd, TotalEq)]
+#[deriving(PartialEq, PartialOrd, Ord, Eq)]
 struct Code(u64);
 
 impl Code {