Skip to content

chore: remove unnecessary casts#299

Open
olepbr wants to merge 1 commit intohubblo-org:devfrom
olepbr:remove-unnecessary-casts
Open

chore: remove unnecessary casts#299
olepbr wants to merge 1 commit intohubblo-org:devfrom
olepbr:remove-unnecessary-casts

Conversation

@olepbr
Copy link

@olepbr olepbr commented Apr 7, 2023

get_cpu_usage_percentage() and sysinfo.process() both take a Pid, so the pid as _ casts are unnecessary.

get_cpu_usage_percentage() and sysinfo.process() both take a Pid, so the
"pid as _" casts are unnecessary.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

1 participant