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

@ -42,6 +42,6 @@ async fn main() -> std::io::Result<()> {
})
.bind("127.0.0.1:8080")?
.workers(1)
.start()
.run()
.await
}

View File

@ -45,7 +45,7 @@ async fn main() -> std::io::Result<()> {
})
.bind_uds("/Users/fafhrd91/uds-test")?
.workers(1)
.start()
.run()
.await
}