Skip to content

Commit

Permalink
chore(core): avoid unused props matching on connection.rs
Browse files Browse the repository at this point in the history
Pull-Request: #5734.
  • Loading branch information
sergey-melnychuk authored Dec 13, 2024
1 parent c4e4540 commit be28c96
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions core/src/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,7 @@ impl ConnectedPoint {
/// Returns true if the connection is relayed.
pub fn is_relayed(&self) -> bool {
match self {
ConnectedPoint::Dialer {
address,
role_override: _,
port_use: _,
} => address,
ConnectedPoint::Dialer { address, .. } => address,
ConnectedPoint::Listener { local_addr, .. } => local_addr,
}
.iter()
Expand Down

0 comments on commit be28c96

Please sign in to comment.