mirror of
https://github.com/actix/actix-web.git
synced 2024-12-30 12:00:38 +00:00
listen method has different signature
This commit is contained in:
parent
6d639ae3df
commit
e324522389
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ impl TestServer {
|
||||||
let local_addr = tcp.local_addr().unwrap();
|
let local_addr = tcp.local_addr().unwrap();
|
||||||
|
|
||||||
Server::build()
|
Server::build()
|
||||||
.listen("test", tcp, factory)
|
.listen("test", tcp, factory)?
|
||||||
.workers(1)
|
.workers(1)
|
||||||
.disable_signals()
|
.disable_signals()
|
||||||
.start();
|
.start();
|
||||||
|
|
Loading…
Reference in a new issue