aboutsummaryrefslogtreecommitdiffhomepage
path: root/pingora-timeout
diff options
context:
space:
mode:
authorMatthew Gumport <[email protected]>2024-03-05 17:04:13 -0800
committerEdward Wang <[email protected]>2024-03-15 14:37:56 -0700
commitae8ea771b1a738b379b4061c7d7e20ca0e22a542 (patch)
tree0cb24c97cc31ff4a2f5b4dba329416f5f9221676 /pingora-timeout
parent81e6adea4d38ae00387538fb48dd8a6aab1ad21f (diff)
downloadpingora-ae8ea771b1a738b379b4061c7d7e20ca0e22a542.tar.gz
pingora-ae8ea771b1a738b379b4061c7d7e20ca0e22a542.zip
compile and test cleanly with nightly
The vast majority of these are redundant imports.
Diffstat (limited to 'pingora-timeout')
-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() {