From ead0e2b2004ac50ba194b909c97ed8b6feac511c Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Sat, 20 Jul 2024 18:57:00 +0100 Subject: [PATCH] chore: fix nightly warnings --- actix-service/src/transform.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/actix-service/src/transform.rs b/actix-service/src/transform.rs index e29d2b2b..cffa3e61 100644 --- a/actix-service/src/transform.rs +++ b/actix-service/src/transform.rs @@ -228,6 +228,7 @@ mod tests { use super::*; // pseudo-doctest for Transform trait + #[allow(unused)] pub struct TimeoutTransform { timeout: Duration, } @@ -249,6 +250,7 @@ mod tests { } // pseudo-doctest for Transform trait + #[allow(unused)] pub struct Timeout { service: S, _timeout: Duration,