-
Notifications
You must be signed in to change notification settings - Fork 335
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
Fixed clippy warnings and spelling #1881
Conversation
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.
Looks good, I just want to propose two changes
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.
LGTM
How did you get those clippy warnings? Why does our CI not catch them? Is it due to new rules? |
My scenario is usually as follows: Checking installed toolchains, make sure nighty is there
Update Rust to newest version
Run clippy
This way clippy is newest, and checks also test cases and benchmarks. The risk is, that after fixing clippy warnings in newest Rust version, the older version may not compile the code. So I have catched these warnings because of new rules I guess in newest nightly version of Rust compiler. |
I see, thanks. The thing I wanted to point out is that we should ensure the upper version from Line 75 in 6d3f9b0
|
In this PR there are no unstable features fixes, the code compiles with Rust version defined in CI.
Thanks for pointing out, such procedure could accidentally lead to compilation problems. Thanks again! |
No description provided.