summaryrefslogtreecommitdiff
path: root/src/strategy.rs
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2019-04-25 20:28:46 +0200
committerJustin Worthe <justin@worthe-it.co.za>2019-04-25 20:28:46 +0200
commitec9041a9526b52910aafac1f7c0acfc8215ac107 (patch)
treee87541ff0f442f137f4e5c797014bfa8311c6f3f /src/strategy.rs
parent4978b4f27d7a0e6058d04e7184600bf835070a8b (diff)
Made the state object avoid any heap allocations
Diffstat (limited to 'src/strategy.rs')
-rw-r--r--src/strategy.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strategy.rs b/src/strategy.rs
index 6ee0dce..37d2265 100644
--- a/src/strategy.rs
+++ b/src/strategy.rs
@@ -1,6 +1,6 @@
use crate::command::Command;
use crate::game::GameBoard;
-pub fn choose_move(state: &GameBoard) -> Command {
+pub fn choose_move(_state: &GameBoard) -> Command {
Command::DoNothing
}