From 1ec36f547847e41c60653e00d0ca2bfebf250b2c Mon Sep 17 00:00:00 2001 From: koba-e964 <3303362+koba-e964@users.noreply.github.com> Date: Fri, 22 Nov 2024 18:52:28 +0900 Subject: [PATCH] Fix clippy --- mate_solver/src/position_wrapper.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mate_solver/src/position_wrapper.rs b/mate_solver/src/position_wrapper.rs index b4d96da..5e75cc3 100644 --- a/mate_solver/src/position_wrapper.rs +++ b/mate_solver/src/position_wrapper.rs @@ -252,7 +252,7 @@ mod tests { to: Square::SQ_2B, }, ]; - let mut hashes = vec![init_hash; 9]; + let mut hashes = [init_hash; 9]; for i in 0..8 { position.make_move(moves[i]); hashes[i + 1] = position.zobrist_hash();