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,