From 9fac9dd3ced096dfd6b1646fec0a79924fed5dfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diva=20Mart=C3=ADnez?= Date: Wed, 17 Dec 2025 12:07:21 -0500 Subject: [PATCH] clippy --- quinn-proto/src/iroh_hp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quinn-proto/src/iroh_hp.rs b/quinn-proto/src/iroh_hp.rs index bcc3a6d9b..b2da66f4f 100644 --- a/quinn-proto/src/iroh_hp.rs +++ b/quinn-proto/src/iroh_hp.rs @@ -199,7 +199,7 @@ impl ClientState { Entry::Occupied(mut occupied_entry) => { let is_update = occupied_entry.get().0 != address; if is_update { - occupied_entry.insert((address, false)).0; + occupied_entry.insert((address, false)); } // The value might be different. This should not happen, but we assume that the new // address is more recent than the previous, and thus worth updating