Skip to content

Commit

Permalink
remove a hashset
Browse files Browse the repository at this point in the history
  • Loading branch information
row454 authored Sep 26, 2024
1 parent 1c5093e commit 470b571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ impl GameState {
Ok(BoardState::Ongoing)
}

pub fn get_possible_moves(&self) -> HashSet<Position, BuildNoHashHasher<Position>> {
pub fn get_possible_moves(&self) -> Vec<Position> {
if let Some(meta_move) = self.next_meta_move {
let moves = self.empty_spaces
.iter()
Expand Down

0 comments on commit 470b571

Please sign in to comment.