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.
1 parent d4e470c commit 97b7bfeCopy full SHA for 97b7bfe
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