about summary refs log tree commit diff
path: root/library/std/src/thread
diff options
context:
space:
mode:
authorjoboet <jonasboettiger@icloud.com>2023-04-12 20:27:41 +0200
committerjoboet <jonasboettiger@icloud.com>2024-02-09 14:58:37 +0100
commit2e652e59f6d778053853e8dd6230082e71829117 (patch)
tree5ae27bb42ddbd2dc4441e5f8f1ed6e9dcaf240aa /library/std/src/thread
parent934eb8b3914980ac5895a9bf1c570c688a2cca35 (diff)
adjust code documentation
Diffstat (limited to 'library/std/src/thread')
-rw-r--r--library/std/src/thread/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/thread/mod.rs b/library/std/src/thread/mod.rs
index 53fbada7cae..eb837c8f6c6 100644
--- a/library/std/src/thread/mod.rs
+++ b/library/std/src/thread/mod.rs
@@ -1290,8 +1290,8 @@ impl Thread {
         Thread { inner }
     }
 
-    /// Like the public [`park`], but callable on any handle. Used to allow
-    /// parking in TLS destructors.
+    /// Like the public [`park`], but callable on any handle. This is used to
+    /// allow parking in TLS destructors.
     ///
     /// # Safety
     /// May only be called from the thread to which this handle belongs.