[board] Remove an unused local variable from pieces.rs
This commit is contained in:
parent
53dc80b6bb
commit
c280258780
1 changed files with 0 additions and 2 deletions
|
@ -55,8 +55,6 @@ impl<'a> Iterator for Pieces<'a> {
|
|||
}
|
||||
|
||||
if let (Some(bitboard), Some(shape)) = (next_nonempty_bitboard, current_shape) {
|
||||
let piece = Piece::new(self.color, shape);
|
||||
|
||||
let mut square_iterator = bitboard.occupied_squares();
|
||||
|
||||
let mut next_placed_piece: Option<PlacedPiece> = None;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue