Skip to content

clippy: fix warnings#736

Merged
cakebaker merged 3 commits into
uutils:mainfrom
cakebaker:clippy_fix_warnings
Jul 10, 2026
Merged

clippy: fix warnings#736
cakebaker merged 3 commits into
uutils:mainfrom
cakebaker:clippy_fix_warnings

Conversation

@cakebaker

Copy link
Copy Markdown
Contributor

This PR fixes clippy warnings from the question_mark, for_kv_map, and useless_borrows_in_formatting lints that are shown with Rust 1.97.

@codecov

codecov Bot commented Jul 9, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 19.19%. Comparing base (ebd7d9b) to head (fb25d4b).
⚠️ Report is 26 commits behind head on main.

Files with missing lines Patch % Lines
src/uu/pgrep/src/process.rs 0.00% 2 Missing ⚠️
src/uu/top/src/header.rs 0.00% 1 Missing ⚠️
src/uu/top/src/tui/mod.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #736   +/-   ##
=======================================
  Coverage   19.19%   19.19%           
=======================================
  Files          68       68           
  Lines       10158    10157    -1     
  Branches      546      546           
=======================================
  Hits         1950     1950           
+ Misses       8208     8207    -1     
Flag Coverage Δ
macos_latest 6.74% <0.00%> (ø)
ubuntu_latest 19.55% <0.00%> (+<0.01%) ⬆️
windows_latest 0.02% <0.00%> (ø)

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.

@cakebaker cakebaker merged commit aa971ee into uutils:main Jul 10, 2026
17 of 18 checks passed
@cakebaker cakebaker deleted the clippy_fix_warnings branch July 10, 2026 08:25
@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