Skip to content
This repository has been archived by the owner on Dec 25, 2024. It is now read-only.

Commit

Permalink
Day 01: Fix expect message format
Browse files Browse the repository at this point in the history
  • Loading branch information
yamgent committed Dec 2, 2024
1 parent 2ebabaa commit 586f9ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bin/day01/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ fn read_input(input: &str) -> (Vec<i32>, Vec<i32>) {
});

(
left.parse().expect("not a number"),
right.parse().expect("not a number"),
left.parse().expect("a number"),
right.parse().expect("a number"),
)
})
.fold((vec![], vec![]), |mut acc, line| {
Expand Down

0 comments on commit 586f9ad

Please sign in to comment.