From 3860cb106f0ed70eb8a30d0b799ca632340cfff9 Mon Sep 17 00:00:00 2001 From: glendc Date: Tue, 5 Dec 2023 09:16:12 +0100 Subject: [PATCH] remove generic parameters from Reconnect::new these were not used, as the only parameters used come from the impl block (directly and indirectly) --- 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,