aboutsummaryrefslogtreecommitdiff
path: root/src/attacks.rs
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2023-01-23 06:41:13 +0300
committereug-vs <eugene@eug-vs.xyz>2023-01-23 06:41:13 +0300
commit294eba0fee76e1c7e8b665572622a472316361c7 (patch)
tree502ef429e8999b03d50cde711d17ee82ca4b85ed /src/attacks.rs
parent8eb51ff6072413f03f6edc8a4ead95bb3380245d (diff)
downloadchessnost-294eba0fee76e1c7e8b665572622a472316361c7.tar.gz
refactor: rename apply_move -> make_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 a9947bc..1ccd0cf 100644
--- a/src/attacks.rs
+++ b/src/attacks.rs
@@ -38,7 +38,7 @@ enum Direction {
NoWe,
}
-#[derive(Debug)]
+#[derive(Debug, Clone)]
pub struct Attacks {
pub knight: AttackTable,
pub king: AttackTable,