diff --git a/actix-http/src/client/pool.rs b/actix-http/src/client/pool.rs index d305a7a28..013a79671 100644 --- a/actix-http/src/client/pool.rs +++ b/actix-http/src/client/pool.rs @@ -65,8 +65,8 @@ where // start support future actix_rt::spawn(ConnectorPoolSupport { - connector: connector_rc.clone(), - inner: inner_rc.clone(), + connector: Rc::clone(&connector_rc), + inner: Rc::clone(&inner_rc), }); ConnectionPool(connector_rc, inner_rc) @@ -84,7 +84,7 @@ where impl Drop for ConnectionPool { fn drop(&mut self) { - // We wake up the ConnectorPoolSupport when dropping so it can exit properly. + // wake up the ConnectorPoolSupport when dropping so it can exit properly. self.1.borrow().waker.wake(); } }