From 16e56da02ded200ca6075995e21adf6524a92683 Mon Sep 17 00:00:00 2001 From: Ruediger Klaehn Date: Wed, 2 Oct 2024 15:05:42 +0300 Subject: [PATCH] clippy --- iroh-net/src/endpoint.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iroh-net/src/endpoint.rs b/iroh-net/src/endpoint.rs index eb471e7d9b..87e06fe01b 100644 --- a/iroh-net/src/endpoint.rs +++ b/iroh-net/src/endpoint.rs @@ -459,7 +459,7 @@ impl Endpoint { alpn: &[u8], ) -> Result { let node_addr = node_addr.into(); - tracing::Span::current().record("remote", &node_addr.node_id.fmt_short()); + tracing::Span::current().record("remote", node_addr.node_id.fmt_short()); // Connecting to ourselves is not supported. if node_addr.node_id == self.node_id() { bail!(