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

Apply new clippy lint fixes #375

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Apply new clippy lint fixes #375

wants to merge 2 commits into from

Conversation

alerque
Copy link
Collaborator

@alerque alerque commented Nov 29, 2024

The first commit here has some obvious fixes for convoluted code that has idiomatic Rust alternatives.

The second commit is for using lifetime elision instead of annotations. I understand this one is a bit more controversion and some projects have opted to ignore this lint instead. Personally I think I'm fine with it, I'd rather see annotations where they are meaningful and need to be included in reading the code to grok it, but if anybody here has issues with that I'm happy to consider ignoring these.

@alerque
Copy link
Collaborator Author

alerque commented Nov 29, 2024

@waywardmonkeys Any idea off the top of your head how to deal with the other new lint not covered here yet involving mutable references to mutable static?

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