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:
@ -42,6 +42,6 @@ async fn main() -> std::io::Result<()> {
|
||||
})
|
||||
.bind("127.0.0.1:8080")?
|
||||
.workers(1)
|
||||
.start()
|
||||
.run()
|
||||
.await
|
||||
}
|
||||
|
@ -45,7 +45,7 @@ async fn main() -> std::io::Result<()> {
|
||||
})
|
||||
.bind_uds("/Users/fafhrd91/uds-test")?
|
||||
.workers(1)
|
||||
.start()
|
||||
.run()
|
||||
.await
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user