mirror of
https://github.com/fafhrd91/actix-web
synced 2025-07-01 00:44:26 +02:00
update to actix-0.11.0-beta.3 for actix-web-actors (#2042)
This commit is contained in:
@ -44,7 +44,7 @@ where
|
||||
#[inline]
|
||||
fn spawn<F>(&mut self, fut: F) -> SpawnHandle
|
||||
where
|
||||
F: ActorFuture<Output = (), Actor = A> + 'static,
|
||||
F: ActorFuture<A, Output = ()> + 'static,
|
||||
{
|
||||
self.inner.spawn(fut)
|
||||
}
|
||||
@ -52,7 +52,7 @@ where
|
||||
#[inline]
|
||||
fn wait<F>(&mut self, fut: F)
|
||||
where
|
||||
F: ActorFuture<Output = (), Actor = A> + 'static,
|
||||
F: ActorFuture<A, Output = ()> + 'static,
|
||||
{
|
||||
self.inner.wait(fut)
|
||||
}
|
||||
|
Reference in New Issue
Block a user