comprehensive-rust
comprehensive-rust copied to clipboard
Remove unused main() function in day-2.morning exercise.
This exercise is about making the unit tests pass, so we can remove the main()
function, which is empty and unused. Otherwise the Rust playground complains about dead code.
Looks like the cargo build
check is not happy about that.
Looks like the
cargo build
check is not happy about that.
Yeah, it's probably listed as a binary in the Cargo.toml
file and so the build breaks without a main
.
We could unlist it there if it's covered equivalently by mdbook test
.
This looks a bit stale — we can revisit it after #1073 is merged.