Remove unused struct
This commit is contained in:
parent
ab55683f55
commit
0c0524cf7b
|
@ -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[..];
|
||||||
|
|
Loading…
Reference in a new issue