diff options
author | Justin Worthe <justin@worthe-it.co.za> | 2019-07-07 12:10:42 +0200 |
---|---|---|
committer | Justin Worthe <justin@worthe-it.co.za> | 2019-07-07 12:10:42 +0200 |
commit | 352ad4a297511dfe843bad5206879983ad34f3e2 (patch) | |
tree | 5e77aa34ea23b9080eaee4885ff1129c4249aec8 /src/main.rs | |
parent | d385199c48d565d9ffc8948f137d716e534d5d0d (diff) |
Cleaned up dead code
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index 00b96cf..280df8a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -26,7 +26,7 @@ fn main() { None => { let new_board = game::GameBoard::new(json_state); let (command, cache) = - choose_move(&new_board, strategy_cache, &start_time, max_time); + choose_move(&new_board, strategy_cache, start_time, max_time); strategy_cache = Some(cache); game_board = Some(new_board); command @@ -34,7 +34,7 @@ fn main() { Some(game_board) => { game_board.update(json_state); let (command, cache) = - choose_move(&game_board, strategy_cache, &start_time, max_time); + choose_move(&game_board, strategy_cache, start_time, max_time); strategy_cache = Some(cache); command } |