From 7d723eb2faa7ee98ca251db972146a1f545742bb Mon Sep 17 00:00:00 2001 From: Glen De Cauwsemaecker Date: Sat, 20 Jul 2024 18:42:34 +0200 Subject: [PATCH] remove generic parameters from Reconnect::new (#755) these were not used, as the only parameters used come from the impl block (directly and indirectly) Co-authored-by: Toby Lawrence --- tower/src/reconnect/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tower/src/reconnect/mod.rs b/tower/src/reconnect/mod.rs index ff354821c..d9a96b233 100644 --- a/tower/src/reconnect/mod.rs +++ b/tower/src/reconnect/mod.rs @@ -49,7 +49,7 @@ where M: Service, { /// Lazily connect and reconnect to a [`Service`]. - pub fn new(mk_service: M, target: Target) -> Self { + pub fn new(mk_service: M, target: Target) -> Self { Reconnect { mk_service, state: State::Idle,