Skip to content

Commit ead0e2b

Browse files
committed
chore: fix nightly warnings
1 parent ace737f commit ead0e2b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

actix-service/src/transform.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ mod tests {
228228
use super::*;
229229

230230
// pseudo-doctest for Transform trait
231+
#[allow(unused)]
231232
pub struct TimeoutTransform {
232233
timeout: Duration,
233234
}
@@ -249,6 +250,7 @@ mod tests {
249250
}
250251

251252
// pseudo-doctest for Transform trait
253+
#[allow(unused)]
252254
pub struct Timeout<S> {
253255
service: S,
254256
_timeout: Duration,

0 commit comments

Comments
 (0)