File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 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 {
150150}
151151
152152impl 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()`] .
155155 ///
156156 /// Only one thread will have `true` returned from their result, all other
157157 /// threads will have `false` returned.
Original file line number Diff line number Diff line change @@ -95,8 +95,7 @@ use crate::thread::{self, Thread};
9595
9696/// A synchronization primitive which can be used to run a one-time global
9797/// 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()`].
10099///
101100/// # Examples
102101///
You can’t perform that action at this time.
0 commit comments