From 928433f6b7b8685e81f99ddfd7074ce634544b8e Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Wed, 14 Dec 2022 14:11:04 -0600 Subject: [PATCH] SemiCOLON --- 2022/rust/src/day8.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/2022/rust/src/day8.rs b/2022/rust/src/day8.rs index c0d7078..129df14 100644 --- a/2022/rust/src/day8.rs +++ b/2022/rust/src/day8.rs @@ -21,8 +21,8 @@ fn part1(input: &Input) -> Result { let mut trees: HashSet<(usize, usize)> = HashSet::new(); let mut add = |y, x| { - trees.insert((y, x)); - }; + trees.insert((y, x)) + } let h = input.len(); let w = input[0].len();