diff options
author | eug-vs <eugene@eug-vs.xyz> | 2023-01-23 07:37:49 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2023-01-23 07:37:49 +0300 |
commit | a54e9b4fbb44f0396a4e79d60b88043005012295 (patch) | |
tree | 3bbfecfc1add90cb098e9bc1a42f4f2e885bd721 /src/attacks.rs | |
parent | bf224cd6b8514b1dcf135b4d3a1744c39500726f (diff) | |
download | chessnost-a54e9b4fbb44f0396a4e79d60b88043005012295.tar.gz |
feat: implement unmake_move
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 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, |