Assignment Overview
You will be fixing a bug in main.rs
.
Running the Program
To run the program, run cargo run
. To run the test, run cargo test
.
Submitting Your Code
Before submitting your code, make sure to:
- Run
cargo clippy
and fix any warnings that appear. - Run
cargo fmt
to format your code according to the Rust style guidelines. - Commit and push your code to your repository.
Then, submit your code to the Gradescope assignment.