diff --git a/src/day4/part2.rs b/src/day4/part2.rs index a98f7da..620b119 100644 --- a/src/day4/part2.rs +++ b/src/day4/part2.rs @@ -62,10 +62,8 @@ pub fn solve() { } if let Some(next_line) = &next_line { - { - if next_line[idx] { - adjacent_rolls_count += 1; - } + if next_line[idx] { + adjacent_rolls_count += 1; } if idx > 0 {