Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
lcnr committed May 12, 2020
1 parent 30d8edc commit 99c4718
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/alpha_beta.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,7 @@ impl<T: Game> Bot<T> {

/// Computes the next possible steps and sorts them to maximize
/// cutoffs.
fn generate_game_states(
&self,
game_state: &T,
) -> (bool, Vec<(T, T::Action, T::Fitness)>) {
fn generate_game_states(&self, game_state: &T) -> (bool, Vec<(T, T::Action, T::Fitness)>) {
let (active, actions) = game_state.actions(self.player);

let mut game_states: Vec<_> = actions
Expand Down

0 comments on commit 99c4718

Please sign in to comment.