mirror of
https://github.com/fafhrd91/actix-net
synced 2024-11-24 01:11:07 +01:00
Docs: Fix signature of Service::call (#358)
This commit is contained in:
parent
983abec77d
commit
54b22f9fce
@ -41,7 +41,7 @@ where
|
|||||||
///
|
///
|
||||||
/// actix_service::forward_ready!(service);
|
/// actix_service::forward_ready!(service);
|
||||||
///
|
///
|
||||||
/// fn call(&self, req: S::Request) -> Self::Future {
|
/// fn call(&self, req: Req) -> Self::Future {
|
||||||
/// TimeoutServiceResponse {
|
/// TimeoutServiceResponse {
|
||||||
/// fut: self.service.call(req),
|
/// fut: self.service.call(req),
|
||||||
/// sleep: Sleep::new(clock::now() + self.timeout),
|
/// sleep: Sleep::new(clock::now() + self.timeout),
|
||||||
|
Loading…
Reference in New Issue
Block a user