Fix broken link

This commit is contained in:
Alexis Bourget 2020-09-18 12:04:49 +02:00
parent bffd2111f7
commit b534d9f6e1
1 changed files with 3 additions and 3 deletions

View File

@ -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
///