This commit is contained in:
James Ray 2018-11-29 09:57:06 +00:00 committed by Toralf Wittner
parent 6e1e256fe1
commit ab192cdca7

View File

@ -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