about summary refs log tree commit diff
path: root/library/std/src/sys/thread_local/guard
diff options
context:
space:
mode:
authorjoboet <jonasboettiger@icloud.com>2024-06-17 15:58:06 +0200
committerjoboet <jonasboettiger@icloud.com>2024-06-17 15:58:06 +0200
commit35f050b8dafc19233f4ecfabd1ac4aa117a491b9 (patch)
treeab4a182fc77a4558c3cb43602a2cbd353219cc94 /library/std/src/sys/thread_local/guard
parentb2f29edc81a20f016e8b5d7197c9753c6446e399 (diff)
downloadrust-35f050b8dafc19233f4ecfabd1ac4aa117a491b9.tar.gz
rust-35f050b8dafc19233f4ecfabd1ac4aa117a491b9.zip
std: update TLS module documentation
Diffstat (limited to 'library/std/src/sys/thread_local/guard')
-rw-r--r--library/std/src/sys/thread_local/guard/key.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/std/src/sys/thread_local/guard/key.rs b/library/std/src/sys/thread_local/guard/key.rs
index e235daf3cc9..ee9d55ddd5e 100644
--- a/library/std/src/sys/thread_local/guard/key.rs
+++ b/library/std/src/sys/thread_local/guard/key.rs
@@ -1,6 +1,6 @@
-//! A lot of UNIX platforms don't have a way to register TLS destructors.
-//! Instead, we use one TLS key to register a callback which will run
-//! iterate through the destructor list.
+//! A lot of UNIX platforms don't have a specialized way to register TLS
+//! destructors for native TLS. Instead, we use one TLS key with a destructor
+//! that will run all native TLS destructors in the destructor list.
 
 use crate::ptr;
 use crate::sys::thread_local::destructors;