File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -150,8 +150,8 @@ impl fmt::Debug for BarrierWaitResult {
150
150
}
151
151
152
152
impl BarrierWaitResult {
153
- /// Returns `true` if this thread from [`Barrier::wait()`] is the
154
- /// "leader thread" .
153
+ /// Returns `true` if this thread is the "leader thread" for the call to
154
+ /// [`Barrier::wait()`] .
155
155
///
156
156
/// Only one thread will have `true` returned from their result, all other
157
157
/// threads will have `false` returned.
Original file line number Diff line number Diff line change @@ -95,8 +95,7 @@ use crate::thread::{self, Thread};
95
95
96
96
/// A synchronization primitive which can be used to run a one-time global
97
97
/// initialization. Useful for one-time initialization for FFI or related
98
- /// functionality. This type can only be constructed with the [`Once::new()`]
99
- /// constructor.
98
+ /// functionality. This type can only be constructed with [`Once::new()`].
100
99
///
101
100
/// # Examples
102
101
///
You can’t perform that action at this time.
0 commit comments