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

Fix clippy lints #78

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Fix clippy lints #78

wants to merge 1 commit into from

Conversation

nico-abram
Copy link

This PR fixes clippy lints that showed up on clippy 1.56.1

Lints that showed up multiple times were:

  • Add clippy:: prefix to lint allow()s
  • Use matches!
  • Replace range check with (a..b).contains()
  • Remove unnecessary 'static from statics

@hsivonen
Copy link
Owner

hsivonen commented Apr 3, 2024

I acknowledge that I have seen this, but I haven't had the time to evaluate this for performance impact.

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.

2 participants