Closed adriandelgado closed 1 year ago
I will send a PR in a couple of minutes.
Please don’t.
I appreciate the intention but I’ve run Pedantic in the past and its suggestions are often contradictory or not useful.
You may have noticed that I already run clippy locally and as part of the CI.
I’ll rerun clippy with Pedantic again to see if it has any genuine issues but I don’t think a bulk fix PR will be helpful.
I will send a PR in a couple of minutes.
Please don’t.
I appreciate the intention but I’ve run Pedantic in the past and its suggestions are often contradictory or not useful.
You may have noticed that I already run clippy locally and as part of the CI.
I’ll rerun clippy with Pedantic again to see if it has any genuine issues but I don’t think a bulk fix PR will be helpful.
I just read this comment, sorry :( I've send the PR, but feel free to suggest any changes, no hard feelings. I understand what you are saying about Pedantic. I manually inspected the changes to my liking but It's your repo after all.
I ran clippy with clippy::pedantic
and fixed the main issues it flagged. Thanks for the prompt.
Closing.
Current behavior
Running
cargo clippy -- -W clippy::pedantic
shows hundreds of warnings, most of them are easily fixable.Expected behavior
cargo clippy -- -W clippy::pedantic
shouldn't give any resultsSample code to reproduce
Environment
Any other information
I will send a PR in a couple of minutes.