1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-28 09:42:40 +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();