remove warning
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
blackbeard420 2021-12-08 22:50:25 -05:00
parent dc25845e5f
commit 2c413315ad
Signed by: blackbeard420
GPG Key ID: 88C719E09CDDA4A5

View File

@ -33,7 +33,7 @@ fn calc_fuel_for_pos(v: &Vec<i64>, pos: i64) -> i64 {
}
fn calc_fuel_for_pos_part2(v: &Vec<i64>, pos: i64) -> i64 {
let mut diff = 0;
let mut diff: i64;
let mut fuel = 0;
for x in v {