Skip to content

Commit 31b63d0

Browse files
committed
split paragraph
1 parent 34b65db commit 31b63d0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/libstd/thread/mod.rs

+5-3
Original file line numberDiff line numberDiff line change
@@ -1308,9 +1308,11 @@ impl<T> JoinHandle<T> {
13081308
&self.0.thread
13091309
}
13101310

1311-
/// Waits for the associated thread to finish. In terms of [atomic memory orderings],
1312-
/// the completion of the associated thread synchronizes with this function returning.
1313-
/// In other words, all operations performed by that thread are ordered before all
1311+
/// Waits for the associated thread to finish.
1312+
///
1313+
/// In terms of [atomic memory orderings], the completion of the associated
1314+
/// thread synchronizes with this function returning. In other words, all
1315+
/// operations performed by that thread are ordered before all
13141316
/// operations that happen after `join` returns.
13151317
///
13161318
/// If the child thread panics, [`Err`] is returned with the parameter given

0 commit comments

Comments
 (0)