about summary refs log tree commit diff
path: root/library/std/src/thread
diff options
context:
space:
mode:
authorBrent Kerby <blkerby@gmail.com>2021-05-02 15:55:22 -0600
committerBrent Kerby <blkerby@gmail.com>2021-05-02 17:46:00 -0600
commit6679f5ceb1bd367050bb69b239d94d6213696336 (patch)
tree80d535ea84fcb2c8577be39a3d227d8799e53665 /library/std/src/thread
parente10cbc33c1fd2fcd446cab5cdcc57332d154721c (diff)
downloadrust-6679f5ceb1bd367050bb69b239d94d6213696336.tar.gz
rust-6679f5ceb1bd367050bb69b239d94d6213696336.zip
Change 'NULL' to 'null'
Diffstat (limited to 'library/std/src/thread')
-rw-r--r--library/std/src/thread/local.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/thread/local.rs b/library/std/src/thread/local.rs
index abd5b778483..1f5f26e3e14 100644
--- a/library/std/src/thread/local.rs
+++ b/library/std/src/thread/local.rs
@@ -722,7 +722,7 @@ pub mod os {
     unsafe extern "C" fn destroy_value<T: 'static>(ptr: *mut u8) {
         // SAFETY:
         //
-        // The OS TLS ensures that this key contains a NULL value when this
+        // The OS TLS ensures that this key contains a null value when this
         // destructor starts to run. We set it back to a sentinel value of 1 to
         // ensure that any future calls to `get` for this thread will return
         // `None`.