From 341b7841068cca2c8eaea86335c51cb77dd29a50 Mon Sep 17 00:00:00 2001 From: Kei Tsuji Date: Sat, 28 May 2016 02:05:27 +0900 Subject: [PATCH] fix(examples): hello example fix for multithread (#808) --- examples/hello.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/hello.rs b/examples/hello.rs index 9b20d999..0b736544 100644 --- a/examples/hello.rs +++ b/examples/hello.rs @@ -42,7 +42,7 @@ fn main() { let listener = listener.try_clone().unwrap(); handles.push(::std::thread::spawn(move || { Server::new(listener) - .handle(|_| Hello).unwrap() + .handle(|_| Hello).unwrap(); })); } println!("Listening on http://127.0.0.1:3000");