Fix typo in is_running() docs.

Co-authored-by: Mattias Buelens <649348+MattiasBuelens@users.noreply.github.com>
This commit is contained in:
Mara Bos 2022-01-04 17:38:52 +00:00
parent 09e6665aba
commit c429ade760
2 changed files with 2 additions and 2 deletions

View File

@ -1442,7 +1442,7 @@ pub fn join(self) -> Result<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.

View File

@ -274,7 +274,7 @@ pub fn join(self) -> Result<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.