Skip to content

Commit 21801b5

Browse files
committed
Auto merge of #101439 - Dylan-DPC:rollup-2wf1mtj, r=Dylan-DPC
Rollup of 6 pull requests Successful merges: - #101142 (Improve HIR stats) - #101367 (Suggest `{Option,Result}::{copied,clone}()` to satisfy type mismatch) - #101391 (more clippy::perf fixes) - #101409 (Don't fire `rust_2021_incompatible_closure_captures` in `edition = 2021` crates) - #101420 (Fix `hir::Local` doc to match with the variable name used: `init`) - #101429 (Don't suggest reborrow if usage is inside a closure) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
2 parents b7e0f70 + b685ec2 commit 21801b5

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)