Bump tokio-async-await to 0.1.6 (#921)

This commit is contained in:
Carl Lerche
2019-02-22 17:15:42 -08:00
committed by GitHub
parent 4985e0c608
commit 7039f02bb2
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ async fn process(stream: TcpStream, state: Arc<Mutex<Shared>>) -> io::Result<()>
tokio::spawn_async(async move {
while let Some(line) = await!(rx.next()) {
let line = line.unwrap();
await!(lines_tx.send_async(line));
await!(lines_tx.send_async(line)).unwrap();
}
});
@@ -1,4 +1,4 @@
#![feature(await_macro, async_await)]
#![feature(await_macro, async_await, futures_api)]
#[macro_use]
extern crate tokio;