Made clippy happier

This commit is contained in:
Jedrzej Stuczynski
2020-03-05 15:18:07 +00:00
parent 8b90953ae0
commit f73d6371d2
7 changed files with 19 additions and 23 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ async fn process_socket_connection(
// we must be able to handle multiple packets from same connection independently
tokio::spawn(process_received_packet(
buf.clone(),
buf,
// note: processing_data is relatively cheap (and safe) to clone -
// it contains arc to private key and metrics reporter (which is just
// a single mpsc unbounded sender)