docs(examples): print that examples are using only 1 thread

This commit is contained in:
Sean McArthur
2017-02-01 15:47:07 -08:00
parent e9e7381ece
commit 352b31f67d
2 changed files with 2 additions and 2 deletions

View File

@@ -32,6 +32,6 @@ fn main() {
pretty_env_logger::init().unwrap();
let addr = "127.0.0.1:3000".parse().unwrap();
let server = Http::new().bind(&addr, || Ok(Hello)).unwrap();
println!("Listening on http://{}", server.local_addr().unwrap());
println!("Listening on http://{} with 1 thread.", server.local_addr().unwrap());
server.run().unwrap();
}