-
Notifications
You must be signed in to change notification settings - Fork 6
Fix Clippy lints #55
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 Clippy lints #55
Conversation
Clippy lints suggesting parenthesizing expressions are fixed.
1074028
to
ae3552d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thank you! LGTM 👍
Hey @evading! Always nice to fix additional lints 👍 Since these lints are currently not part of this regular checks, is there some specific linting group, or subset, that you would propose us adding to the GitHub actions? [1] https://rust-lang.github.io/rust-clippy/master/index.html#precedence_bits |
It's actually I just ran |
Interesting. When I run it locally with the same toolchain: Do you have some global config that enables a larger subset of lints? Furthermore, Regarding why the GitHub action isn't working. We have seen the issue before. |
Weird thing is that now after running |
Interesting. I thought that the clippy version was tied to the rust toolchain version. But from what you see, it seams like clippy has been updated independently from rust. At least I know why the lint doesn't show up on But I guess this means that there is no need for a clippy fix anymore? |
It's weird indeed. I actually checked the clippy version and that seems to be tied to the toolchain. I still can't reproduce though. I'll close this. |
Clippy lints suggesting parenthesizing expressions are fixed.
Thank you!
Thank you for your contribution.
Please make sure that your submission includes the following:
Must
errors
orwarnings
.cargo +stable fmt
was run.cargo +stable clippy
yields nowarnings
.CHANGELOG.md
in the proper section.newly added features and code.