diff options
author | hozan23 <hozan23@karyontech.net> | 2024-10-12 22:24:06 +0200 |
---|---|---|
committer | hozan23 <hozan23@karyontech.net> | 2024-10-12 22:24:06 +0200 |
commit | c2c4cb08c370bc27a06fa89403354859f791c23f (patch) | |
tree | 00b71fcc592c871ec35af1f0adf771c9ccee5de2 /p2p | |
parent | 6360d6f69a1f3470493fb10eaca645115bec0fe6 (diff) |
cargo clippy
Diffstat (limited to 'p2p')
-rw-r--r-- | p2p/src/discovery/lookup.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<PeerMsg>, + random_peers: &[PeerMsg], peer_buffer: &mut Vec<PeerMsg>, ) -> Result<()> { let mut results = FuturesUnordered::new(); |