Skip to content

Commit

Permalink
remove generic parameters from Reconnect::new (#755)
Browse files Browse the repository at this point in the history
these were not used, as the only parameters used
come from the impl block (directly and indirectly)

Co-authored-by: Toby Lawrence <tobz@users.noreply.github.com>
  • Loading branch information
GlenDC and tobz authored Jul 20, 2024
1 parent f286933 commit 7d723eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tower/src/reconnect/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ where
M: Service<Target>,
{
/// Lazily connect and reconnect to a [`Service`].
pub fn new<S, Request>(mk_service: M, target: Target) -> Self {
pub fn new(mk_service: M, target: Target) -> Self {
Reconnect {
mk_service,
state: State::Idle,
Expand Down

0 comments on commit 7d723eb

Please sign in to comment.