aboutsummaryrefslogtreecommitdiff
path: root/src/attacks.rs
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2023-02-21 14:19:34 +0300
committereug-vs <eugene@eug-vs.xyz>2023-02-21 14:48:06 +0300
commit69f3c48fb99d96f3fbc4ab49f5fb6d1d8e90e270 (patch)
tree57c53013f2742c3d05762c7fdd066f66bd631e09 /src/attacks.rs
parent5e9543dcc6a012aef73d342080bfec46690b5446 (diff)
downloadchessnost-69f3c48fb99d96f3fbc4ab49f5fb6d1d8e90e270.tar.gz
refactor: split Board module into submodules
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 d32ac64..376e666 100644
--- a/src/attacks.rs
+++ b/src/attacks.rs
@@ -1,4 +1,4 @@
-use crate::{bitboard::Bitboard, board::Color, square::Square};
+use crate::{bitboard::Bitboard, square::Square, board::color::Color};
static NOT_A_FILE: Bitboard = 0xFEFEFEFEFEFEFEFE;
static NOT_B_FILE: Bitboard = 0xFDFDFDFDFDFDFDFD;