Skip to content

Commit 486fb86

Browse files
committed
Correct comments.
1 parent a0178fd commit 486fb86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_thread_pool/src/registry.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -800,8 +800,8 @@ impl WorkerThread {
800800
unsafe { self.wait_or_steal_until(latch, false) };
801801
}
802802

803-
// Wait until the latch is set. Executes local jobs if `is_job` is true for them and
804-
// `all_jobs_started` still returns false.
803+
/// Wait until the latch is set. Executes local jobs if `is_job` is true for them and
804+
/// `all_jobs_started` still returns false.
805805
#[inline]
806806
pub(super) unsafe fn wait_for_jobs<L: AsCoreLatch + ?Sized, const BROADCAST_JOBS: bool>(
807807
&self,

0 commit comments

Comments
 (0)