From e06d2ae1a8066e4f335e2a92b48465b059163a09 Mon Sep 17 00:00:00 2001 From: Cyril Plisko Date: Tue, 8 Aug 2023 11:08:14 +0300 Subject: [PATCH] clippy::redundant_locals --- crates/dht/src/dht.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/dht/src/dht.rs b/crates/dht/src/dht.rs index 88a9592..a1b23ba 100644 --- a/crates/dht/src/dht.rs +++ b/crates/dht/src/dht.rs @@ -498,7 +498,6 @@ impl DhtWorker { let mut futs = FuturesUnordered::new(); // bootstrap for addr in bootstrap_addrs.iter() { - let addr = addr; let this = &self; let in_tx = &in_tx; futs.push(async move {