Commit a59496c
committed
fix: narrow parse_nettop_csv_row_per_pid to macOS-only
The function was gated `cfg(any(macos, test))` while its only caller is
macOS-only. On Linux test builds it compiled as dead code, failing
`cargo clippy --all-targets -- -D warnings`. Match cfg to caller and
drop the now-unused `pub`.
Verified via Docker rust:latest container that Linux clippy is clean.1 parent 5385bf5 commit a59496c
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
860 | 860 | | |
861 | 861 | | |
862 | 862 | | |
863 | | - | |
864 | | - | |
865 | | - | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
866 | 867 | | |
867 | 868 | | |
868 | 869 | | |
| |||
0 commit comments