mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-02 14:12:18 +00:00
Add 'of' (#700)
This commit is contained in:
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user