mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Correct comments.
This commit is contained in:
@@ -800,8 +800,8 @@ pub(super) unsafe fn wait_until<L: AsCoreLatch + ?Sized>(&self, latch: &L) {
|
||||
unsafe { self.wait_or_steal_until(latch, false) };
|
||||
}
|
||||
|
||||
// Wait until the latch is set. Executes local jobs if `is_job` is true for them and
|
||||
// `all_jobs_started` still returns false.
|
||||
/// Wait until the latch is set. Executes local jobs if `is_job` is true for them and
|
||||
/// `all_jobs_started` still returns false.
|
||||
#[inline]
|
||||
pub(super) unsafe fn wait_for_jobs<L: AsCoreLatch + ?Sized, const BROADCAST_JOBS: bool>(
|
||||
&self,
|
||||
|
||||
Reference in New Issue
Block a user