@ -349,9 +349,7 @@ impl Unit {
return HashSet::new();
}
targets.iter()
targets.iter().flat_map(|x| map.open_neighbors(x)).collect()
.flat_map(|x| map.open_neighbors(x))
.collect()
fn reachable(&self, square: &Square, map: &Map) -> HashMap<Square, usize> {