-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
A few clippy-suggested lints #342
Conversation
Most of these seemed reasonable, but feel free to push back on any of them. Clippy also recommended removing a few unused `&self`, but maybe will do that in a separate PR
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.
Thank you for working on this PR. I added suggestions for reverting some comment changes and adding a comment back that was deleted by accident.
It was nice to know that Clippy can detect unnecessary async fn
. What is the name for the lint?
Co-authored-by: Tatsuya Kawano <tatsuya@hibaridb.org>
Co-authored-by: Tatsuya Kawano <tatsuya@hibaridb.org>
Co-authored-by: Tatsuya Kawano <tatsuya@hibaridb.org>
Co-authored-by: Tatsuya Kawano <tatsuya@hibaridb.org>
Co-authored-by: Tatsuya Kawano <tatsuya@hibaridb.org>
Thanks @tatsuya6502 for such detailed review! The lint name is clippy::unused_async. Let me know if anything else needs to be changed. |
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.
Thank you for updating. LGTM. Merging into the main branch.
Most of these seemed reasonable, but feel free to push back on any of them. Clippy also recommended removing a few unused
&self
, but maybe will do that in a separate PR