aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYuchen Wu <[email protected]>2024-06-14 13:41:39 -0700
committerMatthew (mbg) <[email protected]>2024-06-21 09:54:09 -0700
commit4e251f663a476d950f12e2da31c09a2dfe9b8525 (patch)
tree2c06e1444f776a2759e0a18892ea2707fe1d44cb
parent708e03211d8d33b68ffa672fb7c68f1bebd6d08b (diff)
downloadpingora-4e251f663a476d950f12e2da31c09a2dfe9b8525.tar.gz
pingora-4e251f663a476d950f12e2da31c09a2dfe9b8525.zip
Fxi clippy for Rust 1.79
-rw-r--r--.bleep2
-rw-r--r--pingora-core/tests/utils/mod.rs2
-rw-r--r--pingora-ketama/src/lib.rs1
3 files changed, 3 insertions, 2 deletions
diff --git a/.bleep b/.bleep
index ca85d11..5fb3a88 100644
--- a/.bleep
+++ b/.bleep
@@ -1 +1 @@
-0061d912ea6f21c2ce205bfa49d4721cbd2aba7f \ No newline at end of file
+34d9d097899068340f2b65ba7e3cafa0d39387b9 \ No newline at end of file
diff --git a/pingora-core/tests/utils/mod.rs b/pingora-core/tests/utils/mod.rs
index d254e94..8a26684 100644
--- a/pingora-core/tests/utils/mod.rs
+++ b/pingora-core/tests/utils/mod.rs
@@ -63,6 +63,8 @@ impl ServeHttp for EchoApp {
}
pub struct MyServer {
+ // Maybe useful in the future
+ #[allow(dead_code)]
pub handle: thread::JoinHandle<()>,
}
diff --git a/pingora-ketama/src/lib.rs b/pingora-ketama/src/lib.rs
index cce4a6f..98bbdfe 100644
--- a/pingora-ketama/src/lib.rs
+++ b/pingora-ketama/src/lib.rs
@@ -60,7 +60,6 @@
use std::cmp::Ordering;
use std::io::Write;
use std::net::SocketAddr;
-use std::usize;
use crc32fast::Hasher;