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 newer Clippy warnings for 1.80 #301

Merged
merged 3 commits into from
Aug 1, 2024
Merged

Conversation

jarkkojs
Copy link
Contributor

I'd like to take this client to my own use but as long as it breaks "broken glass" invariant I really cannot do that ;-) [1]

Is there something broken in the CI, I see that there are some clippy bits but cannot comprehend why those checks are not working?

[1] "Fight software rot" chapter in "Pragmatic Programmer"

warning: field `1` is never read
   --> src/message/html.rs:263:30

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@iki.fi>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@iki.fi>
@ulyssa ulyssa changed the title Fix all the clippy issues Fix newer Clippy warnings for 1.79 Aug 1, 2024
@ulyssa
Copy link
Owner

ulyssa commented Aug 1, 2024

Thank you for cleaning this up!

Is there something broken in the CI, I see that there are some clippy bits but cannot comprehend why those checks are not working?

Each new edition of Rust/Clippy stablizes or adds new lints. Since I don't want to force folks to have to be responsible for fixing new lints every time there's a new release of Rust, the CI workflow runs Clippy using the MSRV for iamb (currently 1.70) which doesn't warn on the checks fixed here.

@ulyssa ulyssa changed the title Fix newer Clippy warnings for 1.79 Fix newer Clippy warnings for 1.80 Aug 1, 2024
@ulyssa ulyssa enabled auto-merge (squash) August 1, 2024 03:01
@ulyssa ulyssa merged commit 4fc71c9 into ulyssa:main Aug 1, 2024
3 checks passed
@ulyssa ulyssa mentioned this pull request Aug 1, 2024
@ulyssa ulyssa mentioned this pull request Aug 21, 2024
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