[2018][rust][15] fmt

sorbet
Alpha Chen 6 years ago
parent b4268b951a
commit fb264f5cd7

@ -349,9 +349,7 @@ impl Unit {
return HashSet::new(); 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> { fn reachable(&self, square: &Square, map: &Map) -> HashMap<Square, usize> {

Loading…
Cancel
Save