Don't derive Clone for PeerManager

Cloning it is not needed

Signed-off-by: Lee Smet <lee.smet@hotmail.com>
This commit is contained in:
Lee Smet
2024-05-15 11:09:38 +02:00
parent 8577d1a652
commit 02f8a3a362
-1
View File
@@ -44,7 +44,6 @@ const MAX_FAILED_LOCAL_PEER_CONNECTION_ATTEMPTS: usize = 3;
/// The PeerManager creates new peers by connecting to configured addresses, and setting up the
/// connection. Once a connection is established, the created [`Peer`] is handed over to the
/// [`Router`].
#[derive(Clone)]
pub struct PeerManager<M> {
inner: Arc<Inner<M>>,
}