Remove unused struct

This commit is contained in:
Daniel Flanagan 2024-12-03 09:46:50 -06:00
parent ab55683f55
commit 0c0524cf7b

View file

@ -6,11 +6,6 @@ fn main() {
show_answers(sum_muls(&input), sum_muls_with_do_and_dont(&input)); show_answers(sum_muls(&input), sum_muls_with_do_and_dont(&input));
} }
struct MulParser {
left: Option<usize>,
right: Option<usize>,
}
fn sum_muls(input: &str) -> usize { fn sum_muls(input: &str) -> usize {
let mut sum = 0; let mut sum = 0;
let mut s = &input[..]; let mut s = &input[..];