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 warnings introduced in cargo clippy 1.84.0 #88

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

Conversation

hnez
Copy link
Member

@hnez hnez commented Jan 10, 2025

The cargo clippy command has learned new tricks in version 1.84.0 that was released yesterday, causing our CI to fail.

Fix those so our CI jobs are nice and green again.

hnez added 3 commits January 10, 2025 08:16
This change is inspired by the clippy lint unnecessary_map_or[1]
added in version 1.84.0.

[1]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or

Signed-off-by: Leonard Göhrs <[email protected]>
This change is inspired by the clippy lint unnecessary_map_or[1]
added in version 1.84.0.

[1]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or

Signed-off-by: Leonard Göhrs <[email protected]>
This is inspired by cargo lint needless_lifetimes[1] which has started
complaining about this occurrence starting with version 1.84.0.

[1]: https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes

Signed-off-by: Leonard Göhrs <[email protected]>
@hnez hnez requested a review from Emantor January 10, 2025 07:20
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