trifectatechfoundation / sudo-rs

A memory safe implementation of sudo and su.
Other
2.88k stars 77 forks source link

fix clippy warnings #797

Closed japaric closed 10 months ago

japaric commented 10 months ago

something changed recently on the stable channel that created this warning. this fixes CI and should prevent a bunch of PR from failing the CI clippy check

codecov[bot] commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (5cf4857) 55.38% compared to head (63ea087) 55.33%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #797 +/- ## ========================================== - Coverage 55.38% 55.33% -0.05% ========================================== Files 72 72 Lines 9833 9831 -2 ========================================== - Hits 5446 5440 -6 - Misses 4387 4391 +4 ``` | [Files](https://app.codecov.io/gh/memorysafety/sudo-rs/pull/797?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=memorysafety) | Coverage Δ | | |---|---|---| | [src/common/command.rs](https://app.codecov.io/gh/memorysafety/sudo-rs/pull/797?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=memorysafety#diff-c3JjL2NvbW1vbi9jb21tYW5kLnJz) | `91.72% <100.00%> (-0.17%)` | :arrow_down: | ... and [3 files with indirect coverage changes](https://app.codecov.io/gh/memorysafety/sudo-rs/pull/797/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=memorysafety)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.