summaryrefslogtreecommitdiffstats
path: root/src/utils/process.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/process.rs')
-rw-r--r--src/utils/process.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/process.rs b/src/utils/process.rs
index f111e9d4..224eab87 100644
--- a/src/utils/process.rs
+++ b/src/utils/process.rs
@@ -481,7 +481,7 @@ where
*/
let pid_range = my_pid.saturating_sub(10)..my_pid.saturating_add(20);
- for p in pid_range.clone() {
+ for p in pid_range {
// Processes which were not refreshed do not exist for sysinfo, so by selectively
// letting it know about processes the `find_sibling..` function will only
// consider these.