about summary refs log tree commit diff
path: root/src/libarena/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libarena/lib.rs')
-rw-r--r--src/libarena/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libarena/lib.rs b/src/libarena/lib.rs
index 58d8bf289e1..7acef128016 100644
--- a/src/libarena/lib.rs
+++ b/src/libarena/lib.rs
@@ -43,7 +43,7 @@ use std::rt::heap::allocate;
 // The way arena uses arrays is really deeply awful. The arrays are
 // allocated, and have capacities reserved, but the fill for the array
 // will always stay at 0.
-#[deriving(Clone, Eq)]
+#[deriving(Clone, PartialEq)]
 struct Chunk {
     data: Rc<RefCell<Vec<u8> >>,
     fill: Cell<uint>,