1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-08-31 19:46:59 +02:00

change to IntoFuture

This commit is contained in:
Nikolay Kim
2019-03-04 20:29:35 -08:00
parent 700abc997e
commit ed14e6b8ea
15 changed files with 89 additions and 64 deletions

View File

@@ -195,8 +195,8 @@ where
a: None,
b: None,
f: self.f.clone(),
fut_a: self.a.new_service(cfg),
fut_b: self.b.new_service(cfg),
fut_a: self.a.new_service(cfg).into_future(),
fut_b: self.b.new_service(cfg).into_future(),
}
}
}
@@ -209,8 +209,8 @@ where
Out: IntoFuture,
Out::Error: Into<A::Error>,
{
fut_b: B::Future,
fut_a: A::Future,
fut_b: <B::Future as IntoFuture>::Future,
fut_a: <A::Future as IntoFuture>::Future,
f: Cell<F>,
a: Option<A::Service>,
b: Option<B::Service>,