Skip to content

Commit b685ec2

Browse files
authored
Rollup merge of #101391 - matthiaskrgr:perf0309, r=oli-obk
more clippy::perf fixes
2 parents bc5faca + 42e045e commit b685ec2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/src/sys/unix/thread.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ mod cgroups {
429429
Some(b"") => Cgroup::V2,
430430
Some(controllers)
431431
if from_utf8(controllers)
432-
.is_ok_and(|c| c.split(",").any(|c| c == "cpu")) =>
432+
.is_ok_and(|c| c.split(',').any(|c| c == "cpu")) =>
433433
{
434434
Cgroup::V1
435435
}

0 commit comments

Comments
 (0)