From be28c96ff66a059fa90299e2bdf9a5f09692e43d Mon Sep 17 00:00:00 2001 From: Sergey Melnychuk <8093171+sergey-melnychuk@users.noreply.github.com> Date: Fri, 13 Dec 2024 14:25:22 +0100 Subject: [PATCH] chore(core): avoid unused props matching on connection.rs Pull-Request: #5734. --- core/src/connection.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/core/src/connection.rs b/core/src/connection.rs index d46a6cf81e6..91152b25728 100644 --- a/core/src/connection.rs +++ b/core/src/connection.rs @@ -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()