Skip to content

Commit

Permalink
chore: fix nightly warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Jul 20, 2024
1 parent ace737f commit ead0e2b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions actix-service/src/transform.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ mod tests {
use super::*;

// pseudo-doctest for Transform trait
#[allow(unused)]
pub struct TimeoutTransform {
timeout: Duration,
}
Expand All @@ -249,6 +250,7 @@ mod tests {
}

// pseudo-doctest for Transform trait
#[allow(unused)]
pub struct Timeout<S> {
service: S,
_timeout: Duration,
Expand Down

0 comments on commit ead0e2b

Please sign in to comment.