1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-26 23:17:42 +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

@ -42,7 +42,7 @@ async fn test_start() {
.disable_signals()
.bind(format!("{}", addr))
.unwrap()
.start();
.run();
let _ = tx.send((srv, actix_rt::System::current()));
let _ = sys.run();
@ -111,7 +111,7 @@ async fn test_start_ssl() {
.disable_signals()
.bind_openssl(format!("{}", addr), builder)
.unwrap()
.start();
.run();
let _ = tx.send((srv, actix_rt::System::current()));
let _ = sys.run();