We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c94997 commit 44d8b23Copy full SHA for 44d8b23
src/libstd/sync/barrier.rs
@@ -50,12 +50,11 @@ struct BarrierState {
50
generation_id: usize,
51
}
52
53
-/// A result returned from wait.
+/// A `BarrierWaitResult` is returned by [`wait`] when all threads in the [`Barrier`]
54
+/// have rendezvoused.
55
///
-/// Currently this opaque structure only has one method, [`.is_leader`]. Only
56
-/// one thread will receive a result that will return `true` from this function.
57
-///
58
-/// [`.is_leader`]: #method.is_leader
+/// [`wait`]: struct.Barrier.html#method.wait
+/// [`Barrier`]: struct.Barrier.html
59
60
/// # Examples
61
0 commit comments