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