diff --git a/src/day09/mod.rs b/src/day09/mod.rs index 69e51e2..99aadc0 100644 --- a/src/day09/mod.rs +++ b/src/day09/mod.rs @@ -11,7 +11,7 @@ pub fn main() { let sequences = convert_num(input); let structures: Vec>> = sequences .iter() - .map(|s| extrapolate(s.to_vec())) + .map(|s| extra_diff(s.to_vec())) .collect(); for seq in structures[0].clone() { @@ -22,7 +22,7 @@ pub fn main() { } } -fn extrapolate(seq: Vec) -> Vec> { +fn extra_diff(seq: Vec) -> Vec> { let mut structure = vec![seq]; let mut index = 0;