Skip to content

Commit

Permalink
rm some dbg lines
Browse files Browse the repository at this point in the history
  • Loading branch information
bricooke committed Dec 6, 2023
1 parent 5bdf46e commit 3183aa0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
7 changes: 1 addition & 6 deletions src/day1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,7 @@ pub fn day1_part1(input: &str) -> String {
digit.parse::<u32>().unwrap()
});

let _ = temp
.clone()
.inspect(|f| {
dbg!(f);
})
.collect::<Vec<_>>();
let _ = temp.clone().collect::<Vec<_>>();

temp.sum::<u32>().to_string()
}
Expand Down
3 changes: 0 additions & 3 deletions src/day2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,6 @@ pub fn day2_part1(input: &str) -> String {
None
}
})
.inspect(|id| {
dbg!(id);
})
.sum::<u32>()
.to_string()
}
Expand Down

0 comments on commit 3183aa0

Please sign in to comment.