1
0
mirror of https://github.com/actix/examples synced 2025-06-26 17:17:42 +02:00

fix typo and update some deps (#390)

* chore: fix typo for `run-in-thread`

* chore: update some deps for examples
This commit is contained in:
yjh
2020-12-14 19:30:06 +08:00
committed by GitHub
parent 5c8749c2a2
commit 89d2e4e3f7
40 changed files with 267 additions and 328 deletions

View File

@ -7,4 +7,4 @@ description = "Run actix-web in separate thread"
[dependencies]
actix-web = "3"
env_logger = "0.7"
env_logger = "0.8"

View File

@ -42,7 +42,7 @@ fn main() {
let srv = rx.recv().unwrap();
println!("WATING 10 SECONDS");
println!("WAITING 10 SECONDS");
thread::sleep(time::Duration::from_secs(10));
println!("STOPPING SERVER");