mirror of
https://github.com/threefoldtech/mycelium.git
synced 2026-06-06 07:41:41 +00:00
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:
@@ -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>>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user