From d66a9e16bae86863cfdbd033b49b672da34bdde1 Mon Sep 17 00:00:00 2001 From: Laurence Tratt Date: Sat, 25 Dec 2021 15:18:55 +0000 Subject: [PATCH] Language tweak. --- library/std/src/thread/mod.rs | 4 ++-- 1 file 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`].