From 36462f901e5b45eec36ea52000c8f2caa4b8ea67 Mon Sep 17 00:00:00 2001 From: ywxt Date: Fri, 27 Jun 2025 10:50:17 +0800 Subject: Correct comments. --- compiler/rustc_thread_pool/src/registry.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler/rustc_thread_pool') 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( &self, -- cgit 1.4.1-3-g733a5