Closed guygastineau closed 2 years ago
I hadn't seen the cargo clippy
command before, thanks for sharing that. All fixed now.
Is this when I would consider closing the issue?
Yep, although you could have made a PR with a closing reference to this issue to have it close automatically when the PR is merged. There was no reason to do so in this case, unless you just wanted to see how it works.
The first thing that comes to mind for me is eliminating the warnings flagged by clippy and the compiler. When I run
cargo clippy
in the project directory I get the following:Most of these are pretty easy to fix, and the compiler warning messages make the fixes clear. Let me know if the rationale for any of the warnings is unclear.