aboutsummaryrefslogtreecommitdiff
path: root/src/attacks.rs
diff options
context:
space:
mode:
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,