about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-09-03 22:57:22 +0200
committerMatthias Krüger <matthias.krueger@famsik.de>2022-09-03 22:57:22 +0200
commit6f4726541e56ae02a7e31cc42d1d14df81848c58 (patch)
treeed72c3b1a5126739e25a771c9a8e8a98d6fec63a /library/std/src
parentdec689432fac6720b2f18101ac28a21add98b1b8 (diff)
more clippy::perf fixes
Diffstat (limited to 'library/std/src')
-rw-r--r--library/std/src/sys/unix/thread.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/unix/thread.rs b/library/std/src/sys/unix/thread.rs
index 7db3065dee0..56bb71b5dcb 100644
--- a/library/std/src/sys/unix/thread.rs
+++ b/library/std/src/sys/unix/thread.rs
@@ -429,7 +429,7 @@ mod cgroups {
                         Some(b"") => Cgroup::V2,
                         Some(controllers)
                             if from_utf8(controllers)
-                                .is_ok_and(|c| c.split(",").any(|c| c == "cpu")) =>
+                                .is_ok_and(|c| c.split(',').any(|c| c == "cpu")) =>
                         {
                             Cgroup::V1
                         }