Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
koba-e964 committed Nov 22, 2024
1 parent d0da9d0 commit 1ec36f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mate_solver/src/position_wrapper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 1ec36f5

Please sign in to comment.