about summary refs log tree commit diff
path: root/library/std/src/sys
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2025-02-14 16:23:29 +0100
committerGitHub <noreply@github.com>2025-02-14 16:23:29 +0100
commit678ff2a59b11737126df55ac5154320166e0560b (patch)
tree3630b34d25ce2bd50e15263c7fc2f1d5fff7686b /library/std/src/sys
parent4b13dfd6d5752053d31127b922464fae5506ab93 (diff)
parentb691e9f2e0f72a77b7fafc533abbdbc39b8dc438 (diff)
downloadrust-678ff2a59b11737126df55ac5154320166e0560b.tar.gz
rust-678ff2a59b11737126df55ac5154320166e0560b.zip
Rollup merge of #136052 - no1wudi:fix, r=workingjubilee
Correct comment for FreeBSD and DragonFly BSD in unix/thread
Diffstat (limited to 'library/std/src/sys')
-rw-r--r--library/std/src/sys/pal/unix/thread.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/pal/unix/thread.rs b/library/std/src/sys/pal/unix/thread.rs
index 479021af040..69c99782f0b 100644
--- a/library/std/src/sys/pal/unix/thread.rs
+++ b/library/std/src/sys/pal/unix/thread.rs
@@ -144,7 +144,7 @@ impl Thread {
                     const TASK_COMM_LEN: usize = 16;
                     let name = truncate_cstr::<{ TASK_COMM_LEN }>(name);
                 } else {
-                    // FreeBSD, DragonFly, FreeBSD and NuttX do not enforce length limits.
+                    // FreeBSD, DragonFly BSD and NuttX do not enforce length limits.
                 }
             };
             // Available since glibc 2.12, musl 1.1.16, and uClibc 1.0.20 for Linux,