Remove all useless 'allow(unused)'
This commit is contained in:
parent
915244b238
commit
02d48fe526
5 changed files with 0 additions and 8 deletions
|
|
@ -1,6 +1,5 @@
|
|||
use crate::board::{Bitboard, Direction, Square};
|
||||
|
||||
#[allow(unused)]
|
||||
pub fn bishop_moves(square: Square, blockers: Bitboard) -> Bitboard {
|
||||
Direction::iter_bishop()
|
||||
.map(|dir| dir.slide_board_with_blockers(square.into_bitboard(), blockers))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue