diff --git a/actix-service/src/macros.rs b/actix-service/src/macros.rs index 1656468e..d2ae9dbf 100644 --- a/actix-service/src/macros.rs +++ b/actix-service/src/macros.rs @@ -147,9 +147,8 @@ mod tests { forward_ready!(inner); - #[allow(clippy::unit_arg)] - fn call(&self, req: ()) -> Self::Future { - self.inner.call(req) + fn call(&self, _: ()) -> Self::Future { + self.inner.call(()) } }