diff options
Diffstat (limited to 'components/util/workqueue.rs')
-rw-r--r-- | components/util/workqueue.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/util/workqueue.rs b/components/util/workqueue.rs index 4924036a6a8..a9f9419d81c 100644 --- a/components/util/workqueue.rs +++ b/components/util/workqueue.rs @@ -225,7 +225,7 @@ impl<QueueData: Send, WorkData: Send> WorkQueue<QueueData, WorkData> { threads.get_mut(i).other_deques.push(infos[j].thief.clone()) } } - assert!(threads.get(i).other_deques.len() == thread_count - 1) + assert!(threads[i].other_deques.len() == thread_count - 1) } // Spawn threads. |