diff --git a/day_1/src/main.rs b/day_1/src/main.rs index f622412..ff2db75 100644 --- a/day_1/src/main.rs +++ b/day_1/src/main.rs @@ -24,6 +24,7 @@ fn run_solution(check_for_spelled: bool) let first = get_digit(line.to_ascii_lowercase().as_bytes(), false, check_for_spelled); let last = get_digit(line.to_ascii_lowercase().as_bytes(), true, check_for_spelled); + let num = (first * 10) + last; // println!("\nLine: {} -- First: {}, Second: {}, Num: {}", line, first, last, num);