-
Notifications
You must be signed in to change notification settings - Fork 83
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 some simple clippy lints #284
Conversation
`GlApi` is Copy and a simple enum on all platforms, so point in dropping it explicitly.
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.
It would also be nice to add a clippy run to GitHub Actions to ensure that these don't regress.
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.
This needs a cargo fmt
run, I think.
Head branch was pushed to by a user without write access
I agree - but I think the examples need to be fixed first (they are not compiling, and cause clippy to fail). Locally, I just ignored the issue by deleted the examples folder. |
Each lint was fixed in an individual commit, for easier review.
After this PR clippy is warning free when run on surfman, examples are excluded and the following lints are allowed: