diff options
author | eug-vs <eugene@eug-vs.xyz> | 2023-02-21 17:49:51 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2023-02-23 14:01:03 +0300 |
commit | f60c573ba71207c18a28413e3940a4e21b07c73f (patch) | |
tree | 3e50e9ea6cd0129414db92cd50805ebeb65a4676 /src/attacks.rs | |
parent | 69f3c48fb99d96f3fbc4ab49f5fb6d1d8e90e270 (diff) | |
download | chessnost-f60c573ba71207c18a28413e3940a4e21b07c73f.tar.gz |
refactor: create grossmeister module
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, |