diff options
| author | ywxt <ywxtcwh@gmail.com> | 2025-06-27 10:50:17 +0800 |
|---|---|---|
| committer | ywxt <ywxtcwh@gmail.com> | 2025-06-28 17:58:21 +0800 |
| commit | 36462f901e5b45eec36ea52000c8f2caa4b8ea67 (patch) | |
| tree | 269b964eeb4c5eb7f89c4c63d7c77da50d0153a3 /compiler/rustc_thread_pool | |
| parent | 0ff1fb27d3cbfdc1e9fd7598842eaab588e3c69e (diff) | |
| download | rust-36462f901e5b45eec36ea52000c8f2caa4b8ea67.tar.gz rust-36462f901e5b45eec36ea52000c8f2caa4b8ea67.zip | |
Correct comments.
Diffstat (limited to 'compiler/rustc_thread_pool')
| -rw-r--r-- | compiler/rustc_thread_pool/src/registry.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_thread_pool/src/registry.rs b/compiler/rustc_thread_pool/src/registry.rs index ccf4561014f..22d3a786045 100644 --- a/compiler/rustc_thread_pool/src/registry.rs +++ b/compiler/rustc_thread_pool/src/registry.rs @@ -800,8 +800,8 @@ impl WorkerThread { 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, |
