Skip to content

Commit

Permalink
patch src/runtime/tests/task.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
mental32 committed Sep 1, 2020
1 parent f186bd9 commit d73321f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tokio/src/runtime/tests/task.rs
@@ -1,5 +1,5 @@
use crate::runtime::task::{self, Schedule, Task};
use crate::util::linked_list::LinkedList;
use crate::util::linked_list::{Link, LinkedList};
use crate::util::TryLock;

use std::collections::VecDeque;
Expand Down Expand Up @@ -72,7 +72,7 @@ struct Inner {

struct Core {
queue: VecDeque<task::Notified<Runtime>>,
tasks: LinkedList<Task<Runtime>>,
tasks: LinkedList<Task<Runtime>, <Task<Runtime> as Link>::Target>,
}

static CURRENT: TryLock<Option<Runtime>> = TryLock::new(None);
Expand Down

0 comments on commit d73321f

Please sign in to comment.