mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-19 21:11:22 +00:00
Add 'of' (#700)
This commit is contained in:
committed by
Toralf Wittner
parent
6e1e256fe1
commit
ab192cdca7
@ -165,7 +165,7 @@ pub struct CollectionReachEvent<'a, TInEvent: 'a, TOutEvent: 'a, THandler: 'a> {
|
||||
}
|
||||
|
||||
impl<'a, TInEvent, TOutEvent, THandler> CollectionReachEvent<'a, TInEvent, TOutEvent, THandler> {
|
||||
/// Returns the peer id the node that has been reached.
|
||||
/// Returns the peer id of the node that has been reached.
|
||||
#[inline]
|
||||
pub fn peer_id(&self) -> &PeerId {
|
||||
&self.peer_id
|
||||
|
Reference in New Issue
Block a user