Skip to content
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

General fixes with Clippy lints #315

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

Speykious
Copy link
Contributor

This is the start of some of the clippy lints I acted on.
Every lint I fixed is per-commit with a link attached (I think the best thing to do with this PR is a squash-merge).

The 2 first commits are clippy lints denoted as errors, all the other ones are warnings.

I didn't fix every single clippy lint, first because there are a lot of them, and second because I don't know your preferences regarding some of them (unnecessary return keywords for instance, maybe you prefer that in every situation).

image

Let me know if there should be a clippy.toml file for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant