Conversation
| } | ||
|
|
||
| /// Iterating pid in current system | ||
| #[allow(dead_code)] |
There was a problem hiding this comment.
please comment why it is dead code :)
There was a problem hiding this comment.
At first I just did it mindlessly because clippy was complaining. Now that I take a look at it, it seems that the function is only ever used in the test section below. It's used nowhere else.
Actually, the whole file is used absolutely nowhere, so I'm not sure as of what to do with it.
Do we keep it for maybe using it in the future ? Or just get rid of it ?
There was a problem hiding this comment.
Just add a comment explaining this please :)
There was a problem hiding this comment.
I've actually moved the #[allow(dead_code)] to the root of the file, because warning were still emitted on other functions
There was a problem hiding this comment.
oh, we should remove it from procps and leverage uucore
There was a problem hiding this comment.
@Krysztal112233 would it be possible for you to do it?
There was a problem hiding this comment.
Sure, but it might take some time.
There was a problem hiding this comment.
In the meantime, it might be worth just updating the comment to indicate this intention, so this PR can get merged.
|
GNU testsuite comparison: |
bd91415 to
75ce83f
Compare
|
GNU testsuite comparison: |
75ce83f to
53cf108
Compare
|
Can we add |
53cf108 to
90f2525
Compare
|
GNU testsuite comparison: |
6c5dfe0 to
e8141d3
Compare
|
GNU testsuite comparison: |
No description provided.