From de566cc98d787b0bf862dbfdc33cca4c0b2c03e4 Mon Sep 17 00:00:00 2001 From: Oschly Date: Tue, 30 Dec 2025 22:31:53 +0100 Subject: [PATCH] lint fix --- src/day4/part2.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 {