From 34c6b8d81c93f2b612fd2854ceb088d30cc4a274 Mon Sep 17 00:00:00 2001 From: iPLAY888 <133153661+letmehateu@users.noreply.github.com> Date: Tue, 30 Dec 2025 13:12:00 +0300 Subject: [PATCH] docs(network): update Swarm struct to use NetworkPrimitives generic (#20677) --- docs/crates/network.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/crates/network.md b/docs/crates/network.md index 2a38fefc6a..5eb9bd9800 100644 --- a/docs/crates/network.md +++ b/docs/crates/network.md @@ -183,13 +183,13 @@ The discovery task progresses as the network management task is polled, handling [File: crates/net/network/src/swarm.rs](https://github.com/paradigmxyz/reth/blob/1563506aea09049a85e5cc72c2894f3f7a371581/crates/net/network/src/swarm.rs) ```rust,ignore -pub(crate) struct Swarm { +pub(crate) struct Swarm { /// Listens for new incoming connections. incoming: ConnectionListener, /// All sessions. - sessions: SessionManager, + sessions: SessionManager, /// Tracks the entire state of the network and handles events received from the sessions. - state: NetworkState, + state: NetworkState, } ```