[2018][rust] cargo fmt
change mzomtznqsxzyvmoklztxsoqnyyyqpzwl
commit e1f9102774054b400f5d3865616a206c4c1898ef
author Alpha Chen <alpha.chen@gmail.com>
date
parent ssnwozpr
diff --git a/2018/rust/src/bin/day_06.rs b/2018/rust/src/bin/day_06.rs
index 1a53587..7c63ed3 100644
--- a/2018/rust/src/bin/day_06.rs
+++ b/2018/rust/src/bin/day_06.rs
@@ -28,7 +28,11 @@ fn part_two(input: &str, max_distance: usize) -> Result<String, Box<Error>> {
         coords.total_distance(*coord)
     });
 
-    let area = grid.locations.values().filter(|&&x| x < max_distance).count();
+    let area = grid
+        .locations
+        .values()
+        .filter(|&&x| x < max_distance)
+        .count();
     Ok(area.to_string())
 }