split paragraph

This commit is contained in:
Ralf Jung 2018-08-28 10:49:45 +02:00
parent 34b65db842
commit 31b63d0ca8

View File

@ -1308,9 +1308,11 @@ impl<T> JoinHandle<T> {
&self.0.thread
}
/// Waits for the associated thread to finish. In terms of [atomic memory orderings],
/// the completion of the associated thread synchronizes with this function returning.
/// In other words, all operations performed by that thread are ordered before all
/// Waits for the associated thread to finish.
///
/// In terms of [atomic memory orderings], the completion of the associated
/// thread synchronizes with this function returning. In other words, all
/// operations performed by that thread are ordered before all
/// operations that happen after `join` returns.
///
/// If the child thread panics, [`Err`] is returned with the parameter given