1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-23 21:51:06 +01:00

chore: fix nightly warnings

This commit is contained in:
Rob Ede 2024-07-20 18:57:00 +01:00
parent ace737fc4c
commit ead0e2b200
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933

View File

@ -228,6 +228,7 @@ mod tests {
use super::*; use super::*;
// pseudo-doctest for Transform trait // pseudo-doctest for Transform trait
#[allow(unused)]
pub struct TimeoutTransform { pub struct TimeoutTransform {
timeout: Duration, timeout: Duration,
} }
@ -249,6 +250,7 @@ mod tests {
} }
// pseudo-doctest for Transform trait // pseudo-doctest for Transform trait
#[allow(unused)]
pub struct Timeout<S> { pub struct Timeout<S> {
service: S, service: S,
_timeout: Duration, _timeout: Duration,