Skip to content

clippy: fix warnings with Rust 1.95.0#679

Merged
cakebaker merged 1 commit intouutils:mainfrom
cakebaker:clippy_fix_warnings
Apr 23, 2026
Merged

clippy: fix warnings with Rust 1.95.0#679
cakebaker merged 1 commit intouutils:mainfrom
cakebaker:clippy_fix_warnings

Conversation

@cakebaker
Copy link
Copy Markdown
Contributor

This PR fixes warnings from the collapsible_match and unnecessary_sort_by lints.

from the collapsible_match and unnecessary_sort_by lints
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 16, 2026

Codecov Report

❌ Patch coverage is 0% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 19.20%. Comparing base (c1801fd) to head (e059828).
⚠️ Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
src/uu/pgrep/src/process_matcher.rs 0.00% 2 Missing ⚠️
src/uu/pmap/src/smaps_format_parser.rs 0.00% 2 Missing ⚠️
src/uu/ps/src/sorting.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #679   +/-   ##
=======================================
  Coverage   19.20%   19.20%           
=======================================
  Files          68       68           
  Lines       10155    10153    -2     
  Branches      546      546           
=======================================
  Hits         1950     1950           
+ Misses       8205     8203    -2     
Flag Coverage Δ
macos_latest 6.74% <0.00%> (+<0.01%) ⬆️
ubuntu_latest 19.56% <0.00%> (+<0.01%) ⬆️
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 Sentry.
📢 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.

@cakebaker cakebaker merged commit 953e354 into uutils:main Apr 23, 2026
17 of 18 checks passed
@cakebaker cakebaker deleted the clippy_fix_warnings branch April 23, 2026 05:19
@cakebaker
Copy link
Copy Markdown
Contributor Author

I merged this PR myself to get the CI back to green.

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