diff options
| author | Alexis Bourget <alexis.bourget@gmail.com> | 2020-09-18 12:04:49 +0200 |
|---|---|---|
| committer | Alexis Bourget <alexis.bourget@gmail.com> | 2020-09-18 12:32:23 +0200 |
| commit | b534d9f6e1e2b3e77842c5ededa62f6bcfb2ea58 (patch) | |
| tree | 11f1f0e6ee2ee50f85044810d413d2a4e66f1bf6 /library/std/src/sync | |
| parent | bffd2111f7b033902e60889da5d3fa7a033a7d5e (diff) | |
| download | rust-b534d9f6e1e2b3e77842c5ededa62f6bcfb2ea58.tar.gz rust-b534d9f6e1e2b3e77842c5ededa62f6bcfb2ea58.zip | |
Fix broken link
Diffstat (limited to 'library/std/src/sync')
| -rw-r--r-- | library/std/src/sync/barrier.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/std/src/sync/barrier.rs b/library/std/src/sync/barrier.rs index b8b4baf14b4..8d3e30dbd45 100644 --- a/library/std/src/sync/barrier.rs +++ b/library/std/src/sync/barrier.rs @@ -94,9 +94,9 @@ impl Barrier { /// be used continuously. /// /// A single (arbitrary) thread will receive a [`BarrierWaitResult`] that - /// returns `true` from [`is_leader`] when returning from this function, and - /// all other threads will receive a result that will return `false` from - /// [`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()`]. /// /// # Examples /// |
