Update futures and tokio alphas

This commit is contained in:
Sean McArthur
2019-08-29 14:25:17 -07:00
parent f4378bae58
commit 678c90eb0a
12 changed files with 32 additions and 27 deletions

View File

@@ -70,8 +70,7 @@
//!
//! #[tokio::main]
//! pub async fn main() {
//! let addr = "127.0.0.1:5928".parse().unwrap();
//! let mut listener = TcpListener::bind(&addr).unwrap();
//! let mut listener = TcpListener::bind("127.0.0.1:5928").await.unwrap();
//!
//! // Accept all incoming TCP connections.
//! loop {