diff --git a/src/p2p/addr.rs b/src/p2p/addr.rs index e8660aaba..7632aae12 100644 --- a/src/p2p/addr.rs +++ b/src/p2p/addr.rs @@ -82,9 +82,9 @@ impl FromStr for MultiaddrWithoutPeerId { /// don't support it being contained within the `Multiaddr`. #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub struct MultiaddrWithPeerId { - /// The peer without its address. + /// The [`Multiaddr`] without the [`Protocol::P2p`] suffix. pub multiaddr: MultiaddrWithoutPeerId, - /// The address of the peer. + /// The peer id from the [`Protocol::P2p`] suffix. pub peer_id: PeerId, }