Skip to content

clippy: fix needless_bool lint - #842

Merged
sylvestre merged 1 commit into
uutils:mainfrom
cakebaker:clippy_fix_needless_bool
Nov 14, 2026
Merged

sylvestre merged 1 commit into
uutils:mainfrom
cakebaker:clippy_fix_needless_bool

Conversation

@cakebaker

Copy link
Copy Markdown
Contributor

This PR fixes a warning from the needless_bool lint that shows up with Rust 1.100.

@codecov

codecov Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 20.10%. Comparing base (67832aa) to head (13bdf47).
⚠️ Report is 37 commits behind head on main.

Files with missing lines Patch % Lines
src/uu/snice/src/snice.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #842      +/-   ##
==========================================
+ Coverage   19.20%   20.10%   +0.90%     
==========================================
  Files          68       68              
  Lines       10156    10085      -71     
  Branches      546      552       +6     
==========================================
+ Hits         1950     2028      +78     
+ Misses       8206     8057     -149     
Flag Coverage Δ
macos_latest 7.13% <0.00%> (+0.38%) ⬆️
ubuntu_latest 20.48% <0.00%> (+0.93%) ⬆️
windows_latest 0.02% <0.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sylvestre
sylvestre merged commit 0220939 into uutils:main Nov 14, 2026
16 of 18 checks passed
@cakebaker
cakebaker deleted the clippy_fix_needless_bool branch November 14, 2026 16:02
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