aboutsummaryrefslogtreecommitdiffhomepage
path: root/pingora-timeout/src
diff options
context:
space:
mode:
Diffstat (limited to 'pingora-timeout/src')
-rw-r--r--pingora-timeout/src/fast_timeout.rs1
-rw-r--r--pingora-timeout/src/lib.rs1
-rw-r--r--pingora-timeout/src/timer.rs1
3 files changed, 0 insertions, 3 deletions
diff --git a/pingora-timeout/src/fast_timeout.rs b/pingora-timeout/src/fast_timeout.rs
index d8f9c25..c3b251a 100644
--- a/pingora-timeout/src/fast_timeout.rs
+++ b/pingora-timeout/src/fast_timeout.rs
@@ -94,7 +94,6 @@ pub fn unpause() {
#[cfg(test)]
mod tests {
use super::*;
- use std::time::Duration;
#[tokio::test]
async fn test_timeout() {
diff --git a/pingora-timeout/src/lib.rs b/pingora-timeout/src/lib.rs
index f3a33dd..d52dcea 100644
--- a/pingora-timeout/src/lib.rs
+++ b/pingora-timeout/src/lib.rs
@@ -147,7 +147,6 @@ where
#[cfg(test)]
mod tests {
use super::*;
- use std::time::Duration;
#[tokio::test]
async fn test_timeout() {
diff --git a/pingora-timeout/src/timer.rs b/pingora-timeout/src/timer.rs
index 6e25c24..6916d7d 100644
--- a/pingora-timeout/src/timer.rs
+++ b/pingora-timeout/src/timer.rs
@@ -248,7 +248,6 @@ impl TimerManager {
#[cfg(test)]
mod tests {
use super::*;
- use std::sync::Arc;
#[test]
fn test_round() {