From 23cea556aaeeca0fb3f3f52d69e96f1274314a79 Mon Sep 17 00:00:00 2001 From: Daria Sukhonina Date: Tue, 5 May 2026 12:39:51 +0300 Subject: [PATCH] Remove duplicate debug assert --- compiler/rustc_thread_pool/src/sleep/mod.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/compiler/rustc_thread_pool/src/sleep/mod.rs b/compiler/rustc_thread_pool/src/sleep/mod.rs index aa6666092147a..cbaead52902dc 100644 --- a/compiler/rustc_thread_pool/src/sleep/mod.rs +++ b/compiler/rustc_thread_pool/src/sleep/mod.rs @@ -106,7 +106,6 @@ impl Sleep { let mut data = self.data.lock().unwrap(); debug_assert!(data.active_threads > 0); debug_assert!(data.blocked_threads < data.worker_count); - debug_assert!(data.active_threads > 0); data.active_threads -= 1; data.blocked_threads += 1;