From d977aa1fc2812ebb5b8161aef1dc2f51620a0276 Mon Sep 17 00:00:00 2001 From: JOLIMAITRE Matthieu Date: Mon, 4 Apr 2022 20:37:20 +0300 Subject: [PATCH] suppressed warnings --- src/lib/controller/simulated.rs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/lib/controller/simulated.rs b/src/lib/controller/simulated.rs index 10d2f47..7405aea 100644 --- a/src/lib/controller/simulated.rs +++ b/src/lib/controller/simulated.rs @@ -8,27 +8,27 @@ pub enum Objective { } pub struct SimulatedController { - simulations_per_move: usize, - length_of_simulation: usize, - objective: Objective, + _simulations_per_move: usize, + _length_of_simulation: usize, + _objective: Objective, } impl SimulatedController { pub fn new( - simulations_per_move: usize, - length_of_simulation: usize, - objective: Objective, + _simulations_per_move: usize, + _length_of_simulation: usize, + _objective: Objective, ) -> Self { Self { - simulations_per_move, - length_of_simulation, - objective, + _simulations_per_move, + _length_of_simulation, + _objective, } } } impl Controller for SimulatedController { - fn next_move(&mut self, grid: &Grid) -> Result { + fn next_move(&mut self, _grid: &Grid) -> Result { todo!() } }