-
Notifications
You must be signed in to change notification settings - Fork 949
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 various clippy warnings #2900
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.
Thank you!
We do run clippy in CI but with a reduced set of lints. Can we perhaps narrow that set down, now that we have fixed a couple more?
Yes we could do that. I'm wondering why clippy doesn't pick that up now. I think it might be because the actions still use actions-rs which is not really necessary anymore, since Rust comes with the runners now and actions-rs might be outdated. I could make an additional PR updating the Workflows. Many projects also include some lints from the restriction group. This could be considered. |
Feel free, I am always in favor of using tooling better.
Feel free to open an issue with a list of suggestions so we can discuss it :) |
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.
Thanks @umgefahren.
I will merge here, assuming that the above follow-ups happen in separate pull requests.
Ignoring Testground failures for now. See libp2p/test-plans#41. |
Description
I just implemented some changes suggested by clippy.
Links to any relevant issues
Open Questions
Change checklist