diff options
Diffstat (limited to 'examples/tinyhttp.rs')
-rw-r--r-- | examples/tinyhttp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<net::TcpStream>) { })).unwrap(); Ok(()) }); - future::blocking(done).wait().unwrap(); + done.wait().unwrap(); } /// "Server logic" is implemented in this function. |