diff options
-rw-r--r-- | src/attacks.rs | 3 | ||||
-rw-r--r-- | src/board/mod.rs | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/src/attacks.rs b/src/attacks.rs index 8217ce6..1074037 100644 --- a/src/attacks.rs +++ b/src/attacks.rs @@ -21,9 +21,6 @@ pub type Byte = u8; /// First index is *occupancy* of the first rank (all possible states) /// and the second index is the file of the piece on the first rank -/// ``` -/// rank_attacks = first_rank_attacks[occupancy][piece_file]; -/// ``` type FirstRankAttacks = [[Byte; 8]; 256]; #[allow(dead_code)] diff --git a/src/board/mod.rs b/src/board/mod.rs index a5803ac..06b61bb 100644 --- a/src/board/mod.rs +++ b/src/board/mod.rs @@ -21,9 +21,6 @@ pub struct Board { pub ep_target: Option<Square>, /// Castling rights indexed by Color and CastlingSide - /// ``` - /// let can_castle = castling_rights[Color::White as usize][CastlingSide::Queen as usize]; - /// ``` pub castling_rights: [[bool; 2]; 2], /// Zobrist hash of the current position |