summaryrefslogtreecommitdiffstats
path: root/src/utils/process.rs
diff options
context:
space:
mode:
authorThomas Otto <th1000s@posteo.net>2022-01-14 00:33:56 +0100
committerDan Davison <dandavison7@gmail.com>2022-01-13 19:53:28 -0500
commitc323fa529ba3188ceff041509ed2b0a44226f7bc (patch)
tree6d1afc862afb1a2dce038935270a73c880a08d6d /src/utils/process.rs
parent056c18645929da1a86de2e2e30ceb6542d1362a0 (diff)
Fix new 1.58 clippy lints
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.