aboutsummaryrefslogtreecommitdiff
path: root/src/attacks.rs
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2023-01-23 07:37:49 +0300
committereug-vs <eugene@eug-vs.xyz>2023-01-23 07:37:49 +0300
commita54e9b4fbb44f0396a4e79d60b88043005012295 (patch)
tree3bbfecfc1add90cb098e9bc1a42f4f2e885bd721 /src/attacks.rs
parentbf224cd6b8514b1dcf135b4d3a1744c39500726f (diff)
downloadchessnost-a54e9b4fbb44f0396a4e79d60b88043005012295.tar.gz
feat: implement unmake_move
Diffstat (limited to 'src/attacks.rs')
-rw-r--r--src/attacks.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/attacks.rs b/src/attacks.rs
index 1ccd0cf..5399c96 100644
--- a/src/attacks.rs
+++ b/src/attacks.rs
@@ -38,7 +38,7 @@ enum Direction {
NoWe,
}
-#[derive(Debug, Clone)]
+#[derive(Debug, Clone, PartialEq, Eq)]
pub struct Attacks {
pub knight: AttackTable,
pub king: AttackTable,