New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix cargo clippy
warnings
#383
Comments
I will work on this as part of OSD contribution. |
Addressing the Example error:
|
Issue has been automatically marked as stale due to inactivity for 90 days. Update the issue to remove label, otherwise it will be automatically closed. |
@Saran51 any updates on your progress with this? |
Hey, its been a few months since there's been any commit by the assignee on this issue. I've raised a PR that answers this issue and is up to date. If that is inappropriate feel free to close, but I think it should help. #442 |
cargo clippy
is a linter that suggest Rust code improvements. We currently check all PRs for clippy errors before merging in our Check Rust workflow; however, this does not seem to prevent merging code that adds more clippy warnings.All clippy warnings should be addressed:
cargo clippy --all
Furthermore, clippy errors in tests should be addressed
cargo clippy --all-targets --all-features -- -D warnings
Some of these may be able to be addressed via
cargo clippy --fix
Also, our Check Rust workflow could be updated to run
cargo clippy --all-targets --all-features -- -D warnings
instead ofcargo clippy --all
so as to always check test code and disallow merging code that creates clippy warningsThe text was updated successfully, but these errors were encountered: