fix(examples): hello example fix for multithread (#808)
This commit is contained in:
		| @@ -42,7 +42,7 @@ fn main() { | |||||||
|         let listener = listener.try_clone().unwrap(); |         let listener = listener.try_clone().unwrap(); | ||||||
|         handles.push(::std::thread::spawn(move || { |         handles.push(::std::thread::spawn(move || { | ||||||
|             Server::new(listener) |             Server::new(listener) | ||||||
|                 .handle(|_| Hello).unwrap() |                 .handle(|_| Hello).unwrap(); | ||||||
|         })); |         })); | ||||||
|     } |     } | ||||||
|     println!("Listening on http://127.0.0.1:3000"); |     println!("Listening on http://127.0.0.1:3000"); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user