chore: update futures-preview to 0.3.0-alpha.18 (#1427)

This commit is contained in:
Taiki Endo
2019-08-10 14:09:28 -07:00
committed by Carl Lerche
parent 6a125082e4
commit 930cce8677
18 changed files with 40 additions and 40 deletions
+2 -2
View File
@@ -24,8 +24,8 @@ categories = ["concurrency", "asynchronous"]
[dependencies]
tokio-executor = { version = "=0.2.0-alpha.1", path = "../tokio-executor" }
tokio-sync = { version = "=0.2.0-alpha.1", path = "../tokio-sync" }
futures-core-preview = "=0.3.0-alpha.17"
futures-util-preview = "=0.3.0-alpha.17"
futures-core-preview = "=0.3.0-alpha.18"
futures-util-preview = "=0.3.0-alpha.18"
crossbeam-deque = "0.7.0"
crossbeam-queue = "0.1.0"
+2 -2
View File
@@ -8,7 +8,7 @@ use self::state::State;
use crate::pool::Pool;
use crate::waker::Waker;
use futures_util::task::ArcWake;
use futures_util::task;
use log::trace;
use std::cell::{Cell, UnsafeCell};
use std::future::Future;
@@ -135,7 +135,7 @@ impl Task {
let mut g = Guard(fut, true);
let waker = ArcWake::into_waker(Arc::new(Waker {
let waker = task::waker(Arc::new(Waker {
task: me.clone(),
pool: pool.clone(),
}));