Skip to content

Commit

Permalink
Fix clipper warning on Rust 1.78
Browse files Browse the repository at this point in the history
  • Loading branch information
eaufavor committed May 10, 2024
1 parent 1a6af26 commit 7507b69
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pingora-proxy/examples/multi_lb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ impl ProxyHttp for Router {
}
}

fn build_cluster_service<S: BackendSelection>(
upstreams: &[&str],
) -> GenBackgroundService<LoadBalancer<S>>
fn build_cluster_service<S>(upstreams: &[&str]) -> GenBackgroundService<LoadBalancer<S>>
where
S: BackendSelection + 'static,
S::Iter: BackendIter,
Expand Down

0 comments on commit 7507b69

Please sign in to comment.