From f3cc8a0910dc9305f11610ecfcaf773d753ce28e Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 22 Aug 2022 18:13:49 +0200 Subject: [PATCH] Do not implement `PartialEq::ne` for `Card` --- src/data/setbundle/card.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/data/setbundle/card.rs b/src/data/setbundle/card.rs index 6465cc3..5289fea 100644 --- a/src/data/setbundle/card.rs +++ b/src/data/setbundle/card.rs @@ -167,10 +167,6 @@ impl PartialEq for Card { fn eq(&self, other: &Self) -> bool { self.code == other.code } - - fn ne(&self, other: &Self) -> bool { - self.code != other.code - } }