Skip to content

Commit

Permalink
Fix doc links.
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman S. Borschel committed Jul 27, 2020
1 parent d1f8fe8 commit 9322433
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions core/src/connection/pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ pub enum PoolEvent<'a, TInEvent, TOutEvent, THandler, TTransErr, THandlerErr, TC
///
/// * it encounters an error, which includes the connection being
/// closed by the remote. In this case `error` is `Some`.
/// * it was actively closed by [`EstablishedConnection::close`],
/// * it was actively closed by [`EstablishedConnection::start_close`],
/// i.e. a successful, orderly close.
/// * it was actively closed by [`Pool::disconnect`], i.e.
/// dropped without an orderly close.
Expand Down Expand Up @@ -469,7 +469,7 @@ where
/// by the pool effective immediately.
///
/// > **Note**: Established connections are dropped without performing
/// > an orderly close. See [`EstablishedConnection::close`] for
/// > an orderly close. See [`EstablishedConnection::start_close`] for
/// > performing such an orderly close.
pub fn disconnect(&mut self, peer: &TPeerId) {
if let Some(conns) = self.established.get(peer) {
Expand Down
2 changes: 1 addition & 1 deletion core/src/network/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ where
///
/// * it encounters an error, which includes the connection being
/// closed by the remote. In this case `error` is `Some`.
/// * it was actively closed by [`EstablishedConnection::close`],
/// * it was actively closed by [`EstablishedConnection::start_close`],
/// i.e. a successful, orderly close. In this case `error` is `None`.
/// * it was actively closed by [`super::peer::ConnectedPeer::disconnect`] or
/// [`super::peer::DialingPeer::disconnect`], i.e. dropped without an
Expand Down

0 comments on commit 9322433

Please sign in to comment.