fix: clippy

This commit is contained in:
weisd
2025-07-01 09:41:55 +08:00
parent 37861d9af6
commit 3fd70de4a6
3 changed files with 5 additions and 7 deletions
+1 -3
View File
@@ -5,7 +5,7 @@ use hyper::client::conn::http2::Builder;
use hyper_util::rt::TokioExecutor;
use lazy_static::lazy_static;
use std::{
collections::{HashMap, HashSet},
collections::HashSet,
fmt::Display,
net::{IpAddr, Ipv6Addr, SocketAddr, TcpListener, ToSocketAddrs},
};
@@ -135,8 +135,6 @@ pub fn new_remotetarget_http_transport(_insecure: bool) -> Builder<TokioExecutor
todo!();
}
const ALLOWED_CUSTOM_QUERY_PREFIX: &str = "x-";
pub fn is_custom_query_value(qs_key: &str) -> bool {