Skip to content

Commit 32b13ce

Browse files
committed
libcore: Fix signature of the impl for *T
1 parent daf10a2 commit 32b13ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/ptr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ impl<T> *T: Ptr {
172172
}
173173

174174
// Equality for pointers
175-
impl<T: Eq> *T : Eq {
175+
impl<T> *T : Eq {
176176
pure fn eq(&&other: *T) -> bool { self == other }
177177
}
178178

0 commit comments

Comments
 (0)