diff options
Diffstat (limited to 'src/attacks.rs')
-rw-r--r-- | src/attacks.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/attacks.rs b/src/attacks.rs index 376e666..d0f2ddd 100644 --- a/src/attacks.rs +++ b/src/attacks.rs @@ -35,7 +35,7 @@ enum Direction { NoWe, } -#[derive(Debug, Clone, PartialEq, Eq)] +#[derive(Debug, Clone, Copy, PartialEq, Eq)] pub struct Attacks { pub knight: AttackTable, pub king: AttackTable, |