cleanup and fix warnings

This commit is contained in:
2025-03-11 09:46:19 -04:00
parent 69dc686d0a
commit 0c832b1c7b
4 changed files with 13 additions and 6 deletions

View File

@@ -20,6 +20,7 @@ impl CoordPair {
Self(row * Board::BOARD_SIZE + col)
}
#[allow(clippy::wrong_self_convention)]
fn into_indexes(&self) -> (CoordAxis, CoordAxis) {
self.0.div_mod_floor(&Board::BOARD_SIZE)
}