diff options
author | eug-vs <eugene@eug-vs.xyz> | 2023-01-23 06:41:13 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2023-01-23 06:41:13 +0300 |
commit | 294eba0fee76e1c7e8b665572622a472316361c7 (patch) | |
tree | 502ef429e8999b03d50cde711d17ee82ca4b85ed /src/attacks.rs | |
parent | 8eb51ff6072413f03f6edc8a4ead95bb3380245d (diff) | |
download | chessnost-294eba0fee76e1c7e8b665572622a472316361c7.tar.gz |
refactor: rename apply_move -> make_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 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, |