Skip to content

clippy(install): fix collapsible_if lint#11285

Merged
cakebaker merged 2 commits intouutils:mainfrom
xtqqczze:clippy/install/collapsible_if
Mar 11, 2026
Merged

clippy(install): fix collapsible_if lint#11285
cakebaker merged 2 commits intouutils:mainfrom
xtqqczze:clippy/install/collapsible_if

Conversation

@xtqqczze
Copy link
Contributor

@xtqqczze xtqqczze commented Mar 10, 2026

https://rust-lang.github.io/rust-clippy/master/#collapsible_if

How it was applied

cargo +stable clippy -p uu_install --fix --all-targets --all-features -- -A clippy::all -W clippy::collapsible_if
cargo +stable fmt --all -- --emit files

Closes #11274

@github-actions
Copy link

GNU testsuite comparison:

Skipping an intermittent issue tests/tty/tty-eof (passes in this run but fails in the 'main' branch)
Note: The gnu test tests/seq/seq-epipe is now being skipped but was previously passing.
Congrats! The gnu test tests/cut/cut-huge-range is now passing!

@cakebaker cakebaker merged commit fa6fcd2 into uutils:main Mar 11, 2026
157 of 159 checks passed
@cakebaker
Copy link
Contributor

Thanks!

@xtqqczze xtqqczze deleted the clippy/install/collapsible_if branch March 11, 2026 12:43
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