diff --git a/src/server/srv.rs b/src/server/srv.rs index a0b973a8..5aa3fbdb 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) } }