Skip to content

Conversation

@lutter
Copy link
Collaborator

@lutter lutter commented Jan 9, 2026

This PR fixes all clippy warnings and requires that 'cargo clippy' passes in CI.

The commits with title "Run 'cargo clippy --fix'" were generated by running just that; since clippy only applies safe mechanical transforms with --fix, they should not require much review. Most of the other commits are very small and address one specific lint.

The first half of the PR (up to the first change to justfile) only changes actual code since clippy is run against the default target (binary and library)

The second half only changes test code by now running cargo clippy --all-targets

lutter added 30 commits January 9, 2026 11:07
This applies all clippy lints that are marked as MachineApplicable, i.e.,
safe to apply without changing code semantics
We need to eventually fix that, but that requires quite a bit of
change. For now, we suppress the clippy warning.
Note that that also means that we run 'cargo clippy' in CI because the CI
workflow runs 'just lint'
lutter added 28 commits January 9, 2026 11:46
Actually a nice logic error
Note that that also means that we run 'cargo clippy' in CI because the CI
workflow runs 'just lint'
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