Skip to content

clippy(install): fix collapsible_if lint#11285

Open
xtqqczze wants to merge 2 commits intouutils:mainfrom
xtqqczze:clippy/install/collapsible_if
Open

clippy(install): fix collapsible_if lint#11285
xtqqczze wants to merge 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!

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