diff --git a/library/std/src/thread/mod.rs b/library/std/src/thread/mod.rs index 88dabfa8d22b8..1fdde17d0fd41 100644 --- a/library/std/src/thread/mod.rs +++ b/library/std/src/thread/mod.rs @@ -1442,7 +1442,7 @@ impl JoinHandle { self.0.join() } - /// Checks if the the associated thread is still running its main function. + /// Checks if the associated thread is still running its main function. /// /// This might return `false` for a brief moment after the thread's main /// function has returned, but before the thread itself has stopped running. diff --git a/library/std/src/thread/scoped.rs b/library/std/src/thread/scoped.rs index 35e3dba54115d..cda86a48b2430 100644 --- a/library/std/src/thread/scoped.rs +++ b/library/std/src/thread/scoped.rs @@ -274,7 +274,7 @@ impl<'scope, T> ScopedJoinHandle<'scope, T> { self.0.join() } - /// Checks if the the associated thread is still running its main function. + /// Checks if the associated thread is still running its main function. /// /// This might return `false` for a brief moment after the thread's main /// function has returned, but before the thread itself has stopped running.