uutils / findutils

Rust implementation of findutils
MIT License
314 stars 38 forks source link

xargs: use `#[allow(dead_code)]` for enum #396

Closed cakebaker closed 5 months ago

cakebaker commented 5 months ago

This PR adds #[allow(dead_code)] to the CommandExecutionError enum to avoid a "variant Killed is never constructed" warning on Windows (see, for example, https://github.com/uutils/findutils/actions/runs/9298475960/job/25590452513?pr=395#step:6:201).

codecov[bot] commented 5 months ago

Codecov Report

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

Project coverage is 58.80%. Comparing base (3badb05) to head (52ee812).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #396 +/- ## ======================================= Coverage 58.80% 58.80% ======================================= Files 30 30 Lines 3855 3855 Branches 851 847 -4 ======================================= Hits 2267 2267 Misses 1254 1254 Partials 334 334 ```

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