diff --git a/actix-service/src/transform.rs b/actix-service/src/transform.rs index 00b686f9..e39f3058 100644 --- a/actix-service/src/transform.rs +++ b/actix-service/src/transform.rs @@ -41,7 +41,7 @@ where /// /// actix_service::forward_ready!(service); /// -/// fn call(&self, req: S::Request) -> Self::Future { +/// fn call(&self, req: Req) -> Self::Future { /// TimeoutServiceResponse { /// fut: self.service.call(req), /// sleep: Sleep::new(clock::now() + self.timeout),