diff options
Diffstat (limited to 'src/board')
-rw-r--r-- | src/board/move_generation.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/board/move_generation.rs b/src/board/move_generation.rs index 98df056..0735309 100644 --- a/src/board/move_generation.rs +++ b/src/board/move_generation.rs @@ -99,7 +99,6 @@ impl Board { if player_pieces[Piece::King as usize].bitscan() == king_home_position { for rook_square in player_pieces[Piece::Rook as usize] .serialize() - .iter() .filter(|rook_square| rook_square.rank() == king_home_position.rank()) { match rook_square.file() { |