diff --git a/actix-service/src/lib.rs b/actix-service/src/lib.rs index e26d5c62..12de9f66 100644 --- a/actix-service/src/lib.rs +++ b/actix-service/src/lib.rs @@ -77,7 +77,7 @@ use self::ready::{err, ok, ready, Ready}; /// /// fn poll_ready(&self, cx: &mut Context<'_>) -> Poll> { ... } /// -/// fn call(&self, req: Self::Request) -> Self::Future { ... } +/// fn call(&self, req: u8) -> Self::Future { ... } /// } /// ``` ///