From bc6300be34bb754f00a88a122caea3d5625ad602 Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Thu, 8 Feb 2018 17:08:57 -0800 Subject: [PATCH] actix compatibility --- src/server/srv.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/srv.rs b/src/server/srv.rs index a0b973a84..5aa3fbdb7 100644 --- a/src/server/srv.rs +++ b/src/server/srv.rs @@ -387,7 +387,7 @@ impl HttpServer, net::SocketAddr, H, let signals = self.subscribe_to_signals(); let addr: SyncAddress<_> = Actor::start(self); signals.map(|signals| signals.send( - signal::Subscribe(addr.clone().into_subscriber()))); + signal::Subscribe(addr.clone().into()))); Ok(addr) } } @@ -433,7 +433,7 @@ impl HttpServer, net::SocketAddr, H, let signals = self.subscribe_to_signals(); let addr: SyncAddress<_> = Actor::start(self); signals.map(|signals| signals.send( - signal::Subscribe(addr.clone().into_subscriber()))); + signal::Subscribe(addr.clone().into()))); Ok(addr) } }