Skip to content

Commit

Permalink
remove generic parameters from Reconnect::new
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)
  • Loading branch information
glendc committed Dec 5, 2023
1 parent 39adf5c commit 3860cb1
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 3860cb1

Please sign in to comment.