cargo clippy

This commit is contained in:
2025-02-03 13:11:57 -05:00
parent 3d622394a0
commit 6a8d4dafc1
3 changed files with 4 additions and 8 deletions

View File

@@ -69,7 +69,7 @@ fn problem_space(board: &Board, color: Piece) -> Vec<Move> {
impl Agent for ComplexAgent {
fn next_move(&mut self, board: &Board) -> Option<(usize, usize)> {
const LOOPS: usize = 5;
problem_space(&board, self.color)
problem_space(board, self.color)
.into_iter()
.map(|mut x| {
x.populate_next_moves(LOOPS);