We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
JoinHandle::is_finished
1 parent 9200cbc commit 6c4f4a6Copy full SHA for 6c4f4a6
library/std/src/thread/mod.rs
@@ -1850,7 +1850,7 @@ impl<T> JoinHandle<T> {
1850
/// `is_finished`, and calling `join` if it returns `true`. This function does not block. To
1851
/// block while waiting on the thread to finish, use [`join`][Self::join].
1852
///
1853
- /// This might return `true` for a brief moment after the thread's main
+ /// This might return `false` for a brief moment after the thread's main
1854
/// function has returned, but before the thread itself has stopped running.
1855
/// However, once this returns `true`, [`join`][Self::join] can be expected
1856
/// to return quickly, without blocking for any significant amount of time.
0 commit comments