cargo clippy
1 files changed, 1 insertions(+), 1 deletions(-) M src/chess.rs
M src/chess.rs => src/chess.rs +1 -1
@@ 146,7 146,7 @@ pub fn serialize_chess(chess: &Chess) -> [u64; 5] { */ // Serialize the turn, castling rights, and en passant square let turn_bit = (chess.turn() == Color::Black) as u64; let turn_bit = u64::from(chess.turn() == Color::Black); let castles = chess.castles(); let castling_bits = if castles.has(Color::White, CastlingSide::KingSide) {