From 0da5a09df776ba7f08550641d990707392c24e4c Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Sat, 8 Sep 2018 10:29:59 +0200 Subject: Cleaned up compile warnings --- src/strategy/monte_carlo.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/strategy/monte_carlo.rs') diff --git a/src/strategy/monte_carlo.rs b/src/strategy/monte_carlo.rs index a513a63..039c861 100644 --- a/src/strategy/monte_carlo.rs +++ b/src/strategy/monte_carlo.rs @@ -470,7 +470,7 @@ fn sensible_buildings(player: &Player, open_building_spot: bool) -> ArrayVec<[Bu result } -#[cfg(all(not(feature = "heuristic-random"), feature = "energy-cutoff")] +#[cfg(all(not(feature = "heuristic-random"), feature = "energy-cutoff"))] fn sensible_buildings(player: &Player, open_building_spot: bool) -> ArrayVec<[BuildingType; NUMBER_OF_BUILDING_TYPES]> { let mut result = ArrayVec::new(); if !open_building_spot { -- cgit v1.2.3