[2018][rust][15] fmt
change umvnmmrvpsvmmzyxmpksvlrrznlylulo
commit e2719c7a35a23de1a7c5623446519cf711d5fd22
author Alpha Chen <alpha.chen@gmail.com>
date
parent onwyokkw
diff --git a/2018/rust/src/bin/day_15.rs b/2018/rust/src/bin/day_15.rs
index 8ace5dc..035020c 100644
--- a/2018/rust/src/bin/day_15.rs
+++ b/2018/rust/src/bin/day_15.rs
@@ -349,9 +349,7 @@ impl Unit {
             return HashSet::new();
         }
 
-        targets.iter()
-            .flat_map(|x| map.open_neighbors(x))
-            .collect()
+        targets.iter().flat_map(|x| map.open_neighbors(x)).collect()
     }
 
     fn reachable(&self, square: &Square, map: &Map) -> HashMap<Square, usize> {