From 067c4e9bec1e7ad5f11be401c28e49b04e7c47b2 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 4 Oct 2019 10:35:22 +0300 Subject: Drop: silly PartialEq implementations in favour of Eq --- src/status.rs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/status.rs b/src/status.rs index 3ac06b0..9075377 100644 --- a/src/status.rs +++ b/src/status.rs @@ -29,18 +29,6 @@ impl Status { } } -impl PartialEq for &Status { - fn eq(&self, other: &Status) -> bool { - **self == *other - } -} - -impl PartialEq<&Status> for Status { - fn eq(&self, other: &&Status) -> bool { - **other == *self - } -} - #[cfg(test)] mod test { use super::Status; -- cgit v1.2.1