aboutsummaryrefslogtreecommitdiff
path: root/src/moves.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/moves.rs')
-rw-r--r--src/moves.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/moves.rs b/src/moves.rs
index f31d864..66a3be1 100644
--- a/src/moves.rs
+++ b/src/moves.rs
@@ -9,7 +9,7 @@ pub enum MoveKind {
DoublePush,
}
-#[derive(Debug, Clone, Copy)]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct Move {
pub source: Square,
pub target: Square,