mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-03 22:52:16 +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> {
|
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]
|
#[inline]
|
||||||
pub fn peer_id(&self) -> &PeerId {
|
pub fn peer_id(&self) -> &PeerId {
|
||||||
&self.peer_id
|
&self.peer_id
|
||||||
|
Loading…
x
Reference in New Issue
Block a user