Closed StPfeffer closed 2 weeks ago
Created a trigger to update the vehicle actual_mileage based on the total_distance of a new route.
actual_mileage
total_distance
cargo clippy --all -- -D warnings
cargo fmt --all -- --check
cargo test
mod.rs
Description
Created a trigger to update the vehicle
actual_mileage
based on thetotal_distance
of a new route.Type of change
Checklist
cargo clippy --all -- -D warnings
just before my last commit and fixed any issue that was found.cargo fmt --all -- --check
just before my last commit.cargo test
just before my last commit and all tests passed.mod.rs
file within its own folder, and in any parent folder(s).