diff --git a/src/libcore/pin.rs b/src/libcore/pin.rs index 022481f463514..7c09a36d89883 100644 --- a/src/libcore/pin.rs +++ b/src/libcore/pin.rs @@ -129,7 +129,6 @@ impl
PartialEq
where
P: PartialEq PartialOrd
where
P: PartialOrd,
{
-
fn eq(&self, other: &Pin
) -> bool {
self.pointer == other.pointer
}
@@ -144,7 +143,6 @@ impl
,
{
-
fn partial_cmp(&self, other: &Pin
) -> Option