From 7507b696831d2e8383631b014fba9d75c0af5e96 Mon Sep 17 00:00:00 2001 From: Yuchen Wu Date: Fri, 10 May 2024 13:29:48 -0700 Subject: [PATCH] Fix clipper warning on Rust 1.78 --- pingora-proxy/examples/multi_lb.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pingora-proxy/examples/multi_lb.rs b/pingora-proxy/examples/multi_lb.rs index 59125821..1321c207 100644 --- a/pingora-proxy/examples/multi_lb.rs +++ b/pingora-proxy/examples/multi_lb.rs @@ -53,9 +53,7 @@ impl ProxyHttp for Router { } } -fn build_cluster_service( - upstreams: &[&str], -) -> GenBackgroundService> +fn build_cluster_service(upstreams: &[&str]) -> GenBackgroundService> where S: BackendSelection + 'static, S::Iter: BackendIter,