1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-24 08:22:59 +01:00

listen method has different signature

This commit is contained in:
Nikolay Kim 2019-03-08 22:47:49 -08:00
parent 6d639ae3df
commit e324522389

View File

@ -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();