Skip to content

Commit bab4c2c

Browse files
committed
chore: slight simplification
1 parent 9f119b0 commit bab4c2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aoclp_solutions/src/y2025/day_05.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pub fn part_1() -> usize {
1010
let (fresh_ids, available_ids) = input();
1111
available_ids
1212
.into_iter()
13-
.filter(|&id| fresh_ids.iter().any(|r| r.0.contains(&id)))
13+
.filter(|&id| fresh_ids.iter().any(|r| r.contains(&id)))
1414
.count()
1515
}
1616

0 commit comments

Comments
 (0)