about summary refs log tree commit diff
path: root/src/libcore/any.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/any.rs')
-rw-r--r--src/libcore/any.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/any.rs b/src/libcore/any.rs
index f463c194424..2a03eacf13c 100644
--- a/src/libcore/any.rs
+++ b/src/libcore/any.rs
@@ -121,7 +121,7 @@ mod tests {
     use realstd::owned::{Box, AnyOwnExt};
     use realstd::str::Str;
 
-    #[deriving(Eq, Show)]
+    #[deriving(PartialEq, Show)]
     struct Test;
 
     static TEST: &'static str = "Test";