about summary refs log tree commit diff
path: root/library/std/src/thread
diff options
context:
space:
mode:
authorJames 'zofrex' Sanderson <zofrex@gmail.com>2022-04-07 08:51:59 +0100
committerJames 'zofrex' Sanderson <zofrex@gmail.com>2022-04-07 08:51:59 +0100
commitef59ab738e9e6b6021294cd31901ee42c81b67ec (patch)
tree28fc08c8102c7bf57c9f3d5353a6ba52d10dfb29 /library/std/src/thread
parent8cd6080f6c778f6664ea3d12ca7848231707a627 (diff)
downloadrust-ef59ab738e9e6b6021294cd31901ee42c81b67ec.tar.gz
rust-ef59ab738e9e6b6021294cd31901ee42c81b67ec.zip
Use gender neutral terms
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 a41cb02a607..fc307c5666d 100644
--- a/library/std/src/thread/local.rs
+++ b/library/std/src/thread/local.rs
@@ -980,7 +980,7 @@ pub mod fast {
         unsafe fn try_initialize<F: FnOnce() -> T>(&self, init: F) -> Option<&'static T> {
             // SAFETY: See comment above (this function doc).
             if !mem::needs_drop::<T>() || unsafe { self.try_register_dtor() } {
-                // SAFETY: See comment above (his function doc).
+                // SAFETY: See comment above (this function doc).
                 Some(unsafe { self.inner.initialize(init) })
             } else {
                 None