From f0ea9d6f4c0a734ac4c235630f3d8cc51fb48f51 Mon Sep 17 00:00:00 2001 From: Carl Lerche Date: Tue, 6 Feb 2018 07:26:21 -0800 Subject: Switch back to futures from crates.io (#113) Doing so requires copying the `current_thread` executor from GitHub into the repo. --- examples/tinyhttp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/tinyhttp.rs') diff --git a/examples/tinyhttp.rs b/examples/tinyhttp.rs index b0106d63..2f982484 100644 --- a/examples/tinyhttp.rs +++ b/examples/tinyhttp.rs @@ -90,7 +90,7 @@ fn worker(rx: mpsc::UnboundedReceiver) { })).unwrap(); Ok(()) }); - future::blocking(done).wait().unwrap(); + done.wait().unwrap(); } /// "Server logic" is implemented in this function. -- cgit v1.2.3