diff options
author | Lars Wirzenius <liw@liw.fi> | 2019-10-04 10:35:22 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2019-10-04 10:35:22 +0300 |
commit | 067c4e9bec1e7ad5f11be401c28e49b04e7c47b2 (patch) | |
tree | a2f01233e961f981cd85c94225c5b46f0dd7c5f3 | |
parent | ad42aa514d2860ce9dcdb009bc713cbfa627012b (diff) | |
download | roadmap-067c4e9bec1e7ad5f11be401c28e49b04e7c47b2.tar.gz |
Drop: silly PartialEq implementations in favour of Eq
-rw-r--r-- | src/status.rs | 12 |
1 files changed, 0 insertions, 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<Status> 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; |