Skip to content

Minor fixes for clippy lints - including some from pedantic group - #181

Open
git-mann wants to merge 1 commit into
coreos:mainfrom
git-mann:clippy-lints-fixes
Open

git-mann wants to merge 1 commit into
coreos:mainfrom
git-mann:clippy-lints-fixes

Conversation

@git-mann

@git-mann git-mann commented Oct 5, 2026

Copy link
Copy Markdown

This pull request contains some basic clippy lint fixes that clean a few things up.

Some of these fixes are from regular lints in #[cfg(test)] that only show up if you run cargo clippy with the --all-targets flag.

Other fixes are from some lints in the pedantic group. There are to kinds of fixes here:

  1. Machine fixable - these have been added to the [lints.clippy] section of the Cargo.toml
  2. Hand fixed - these were fixed by hand.

There are other warnings from the pedantic group that are either false-positives or more style choices that I didn't bother with.

Not really any functional changes and all tests are passing (other than test-buildtime.sh which is also failing for me on main (d861f16) with none of my changes). Planning to look into other things after this PR, but wanted to start with the basics.

No AI was used.

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