1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-25 22:49:21 +02:00

Rename HttpServer::start() to HttpServer::run()

This commit is contained in:
Nikolay Kim
2019-12-22 17:12:22 +04:00
parent c7f3915779
commit 6a0cd2dced
12 changed files with 27 additions and 21 deletions

View File

@ -37,7 +37,7 @@
//! )
//! .service(web::resource("/").to(|| HttpResponse::Ok())))
//! .bind("127.0.0.1:59880")?
//! .start()
//! .run()
//! .await
//! }
//! ```