Skip to content

Commit e20ac1b

Browse files
Rollup merge of rust-lang#156183 - zetanumbers:rm_duplicate_dbg_ass, r=mati865
Remove duplicate debug assert This is this.
2 parents c2a463a + 23cea55 commit e20ac1b

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • compiler/rustc_thread_pool/src/sleep

compiler/rustc_thread_pool/src/sleep/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ impl Sleep {
106106
let mut data = self.data.lock().unwrap();
107107
debug_assert!(data.active_threads > 0);
108108
debug_assert!(data.blocked_threads < data.worker_count);
109-
debug_assert!(data.active_threads > 0);
110109
data.active_threads -= 1;
111110
data.blocked_threads += 1;
112111

0 commit comments

Comments
 (0)