diff options
Diffstat (limited to 'core/task_queue.rs')
-rw-r--r-- | core/task_queue.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/task_queue.rs b/core/task_queue.rs index 36a169650..adb25a4f6 100644 --- a/core/task_queue.rs +++ b/core/task_queue.rs @@ -127,7 +127,7 @@ mod tests { for i in 0..100 { let data = data.clone(); tasks.push(task_queue.queue(async move { - tokio::task::spawn_blocking(move || { + crate::task::spawn_blocking(move || { let mut data = data.lock(); if *data != i { panic!("Value was not equal."); |