mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-05 11:48:30 +00:00
Fix typo in is_running() docs.
Co-authored-by: Mattias Buelens <649348+MattiasBuelens@users.noreply.github.com>
This commit is contained in:
parent
09e6665aba
commit
c429ade760
@ -1442,7 +1442,7 @@ impl<T> JoinHandle<T> {
|
|||||||
self.0.join()
|
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
|
/// This might return `false` for a brief moment after the thread's main
|
||||||
/// function has returned, but before the thread itself has stopped running.
|
/// function has returned, but before the thread itself has stopped running.
|
||||||
|
@ -274,7 +274,7 @@ impl<'scope, T> ScopedJoinHandle<'scope, T> {
|
|||||||
self.0.join()
|
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
|
/// This might return `false` for a brief moment after the thread's main
|
||||||
/// function has returned, but before the thread itself has stopped running.
|
/// function has returned, but before the thread itself has stopped running.
|
||||||
|
Loading…
Reference in New Issue
Block a user