From 7a22aa650012ace5e5b2066ddd3cac92643a7fac Mon Sep 17 00:00:00 2001 From: Boog900 <54e72d8a-345f-4599-bd90-c6b9bc7d0ec5@aleeas.com> Date: Mon, 20 May 2024 18:48:30 +0100 Subject: [PATCH] correct comment --- p2p/cuprate-p2p/src/client_pool/disconnect_monitor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/cuprate-p2p/src/client_pool/disconnect_monitor.rs b/p2p/cuprate-p2p/src/client_pool/disconnect_monitor.rs index 655873ea..782e88cf 100644 --- a/p2p/cuprate-p2p/src/client_pool/disconnect_monitor.rs +++ b/p2p/cuprate-p2p/src/client_pool/disconnect_monitor.rs @@ -24,7 +24,7 @@ pub async fn disconnect_monitor( mut new_connection_rx: mpsc::UnboundedReceiver<(ConnectionHandle, InternalPeerID)>, client_pool: Arc>, ) { - // We need to hold a weak reference otherwise the client pool and this would cause a circular reference + // We need to hold a weak reference otherwise the client pool and this would be a circular reference // which means the pool would be leaked. let weak_client_pool = Arc::downgrade(&client_pool); drop(client_pool);