From c2c4cb08c370bc27a06fa89403354859f791c23f Mon Sep 17 00:00:00 2001 From: hozan23 Date: Sat, 12 Oct 2024 22:24:06 +0200 Subject: cargo clippy --- p2p/src/discovery/lookup.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'p2p/src') diff --git a/p2p/src/discovery/lookup.rs b/p2p/src/discovery/lookup.rs index ba15da3..71cc5b8 100644 --- a/p2p/src/discovery/lookup.rs +++ b/p2p/src/discovery/lookup.rs @@ -215,7 +215,7 @@ impl LookupService { /// Starts a self lookup async fn self_lookup( &self, - random_peers: &Vec, + random_peers: &[PeerMsg], peer_buffer: &mut Vec, ) -> Result<()> { let mut results = FuturesUnordered::new(); -- cgit v1.2.3