diff --git a/src/libcore/ptr.rs b/src/libcore/ptr.rs index 0a2ffd1d904..32a1e5fae4a 100644 --- a/src/libcore/ptr.rs +++ b/src/libcore/ptr.rs @@ -172,7 +172,7 @@ impl *T: Ptr { } // Equality for pointers -impl *T : Eq { +impl *T : Eq { pure fn eq(&&other: *T) -> bool { self == other } }