We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bffd211 commit b534d9fCopy full SHA for b534d9f
library/std/src/sync/barrier.rs
@@ -94,9 +94,9 @@ impl Barrier {
94
/// be used continuously.
95
///
96
/// A single (arbitrary) thread will receive a [`BarrierWaitResult`] that
97
- /// returns `true` from [`is_leader`] when returning from this function, and
98
- /// all other threads will receive a result that will return `false` from
99
- /// [`BarrierWaitResult::is_leader`].
+ /// returns `true` from [`BarrierWaitResult::is_leader()`] when returning
+ /// from this function, and all other threads will receive a result that
+ /// will return `false` from [`BarrierWaitResult::is_leader()`].
100
101
/// # Examples
102
0 commit comments