diff --git a/day1-trebuchet/src/main.rs b/day1-trebuchet/src/main.rs index 0510a33..0b2001a 100644 --- a/day1-trebuchet/src/main.rs +++ b/day1-trebuchet/src/main.rs @@ -6,7 +6,7 @@ fn main () { println!("the sum of all calibration values is {sum}!"); } -fn replace_numbers<'a>(line: &str) -> String { +fn replace_numbers(line: &str) -> String { let numbers: [&str; 10] = ["zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"]; let mut processed: String = String::from(line); loop {