Skip to content

Commit

Permalink
Fix clippy warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
surban committed Nov 30, 2024
1 parent a36c604 commit 3059b32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aggligator-util/src/transport/acceptor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ impl Acceptor {

// Disconnect link when transport is removed.
struct DisconnectLink<'a>(&'a BoxLink);
impl<'a> Drop for DisconnectLink<'a> {
impl Drop for DisconnectLink<'_> {
fn drop(&mut self) {
self.0.start_disconnect();
}
Expand Down
2 changes: 1 addition & 1 deletion aggligator-util/src/transport/connector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ impl Connector {

// Disconnect link when transport is removed.
struct DisconnectLink<'a>(&'a BoxLink);
impl<'a> Drop for DisconnectLink<'a> {
impl Drop for DisconnectLink<'_> {
fn drop(&mut self) {
self.0.start_disconnect();
}
Expand Down

0 comments on commit 3059b32

Please sign in to comment.