diff options
author | Kevin Guthrie <[email protected]> | 2024-05-03 15:49:39 -0400 |
---|---|---|
committer | Yuchen Wu <[email protected]> | 2024-05-10 15:22:37 -0700 |
commit | 1a6af266a0721a3a0bb4fa7eb38b59248c31cad5 (patch) | |
tree | c008e0135bbbae0e5da4c80dc4d1016884ff3566 /pingora-proxy/src | |
parent | 880488987c610317993ca76bd4b4b97991c3848e (diff) | |
download | pingora-1a6af266a0721a3a0bb4fa7eb38b59248c31cad5.tar.gz pingora-1a6af266a0721a3a0bb4fa7eb38b59248c31cad5.zip |
cargo fmt
Diffstat (limited to 'pingora-proxy/src')
-rw-r--r-- | pingora-proxy/src/lib.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/pingora-proxy/src/lib.rs b/pingora-proxy/src/lib.rs index da21ed3..a60e6a7 100644 --- a/pingora-proxy/src/lib.rs +++ b/pingora-proxy/src/lib.rs @@ -645,8 +645,5 @@ pub fn http_proxy_service_with_name<SV>( inner: SV, name: &str, ) -> Service<HttpProxy<SV>> { - Service::new( - name.to_string(), - HttpProxy::new(inner, conf.clone()), - ) + Service::new(name.to_string(), HttpProxy::new(inner, conf.clone())) } |