-
Notifications
You must be signed in to change notification settings - Fork 445
Clippy: allow or fix clippy::unnecessary_cast lint in src/
#1238
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The other way to do this. We integrate CI and allow the most noisy ones first, and then fix up and remove the allow as we go one by one. Though I think we should figure out MSRV first as we have yet set any. |
Uh oh!
There was an error while loading. Please reload this page.
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.
A couple of thoughts:
#[expect]which is 1.81.View changes since the review
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.
I guess I had assumed that CI tested against the MSRV
Some of the places that it caught things were indeed unneeded casts that I removed, so I think it is useful to have
I wanted to get it passing first, see my comment above that
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.
Indeed, though I would still argue that we probably don't want
alloweverywhere to keep the code slimmer. Alternatively, we might want to run this under Windows so we know where we need it where we dont.