about summary refs log tree commit diff
path: root/library/std/src/thread
diff options
context:
space:
mode:
authorLaurence Tratt <laurie@tratt.net>2021-12-25 15:18:55 +0000
committerLaurence Tratt <laurie@tratt.net>2021-12-25 15:18:55 +0000
commitd66a9e16bae86863cfdbd033b49b672da34bdde1 (patch)
tree6844bd696137d14c61202f881ba324c5df20ffd1 /library/std/src/thread
parent8d8f6995ce063fe812bb668a8b8fe4e5edf213ef (diff)
downloadrust-d66a9e16bae86863cfdbd033b49b672da34bdde1.tar.gz
rust-d66a9e16bae86863cfdbd033b49b672da34bdde1.zip
Language tweak.
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 f33e785f96d..d1fe9260e52 100644
--- a/library/std/src/thread/mod.rs
+++ b/library/std/src/thread/mod.rs
@@ -967,8 +967,8 @@ pub fn park_timeout(dur: Duration) {
 ///
 /// A `ThreadId` is an opaque object that uniquely identifies each thread
 /// created during the lifetime of a process. `ThreadId`s are guaranteed not to
-/// be reused, even if a thread dies. `ThreadId`s are under the control of
-/// Rust's standard library and there may not be any relationship between
+/// be reused, even when a thread terminates. `ThreadId`s are under the control
+/// of Rust's standard library and there may not be any relationship between
 /// `ThreadId` and the underlying platform's notion of a thread identifier --
 /// the two concepts cannot, therefore, be used interchangeably. A `ThreadId`
 /// can be retrieved from the [`id`] method on a [`Thread`].