mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-13 18:11:22 +00:00
Check documentation intra-link (#1432)
* Fix broken links in rustdoc This fixes all of the rustdoc warnings on nightly. * Check documentation intra-link * Fix config * Fix bad indent * Make nightly explicit * More links fixes * Fix link broken after master merge Co-authored-by: Demi Obenour <48690212+DemiMarie-parity@users.noreply.github.com>
This commit is contained in:
@ -102,8 +102,8 @@ impl PingConfig {
|
||||
/// at any time, i.e. in the absence of ping failures the connection lifetime
|
||||
/// is determined by other protocol handlers.
|
||||
///
|
||||
/// If the maximum number of allowed ping failures is reached, the
|
||||
/// connection is always terminated as a result of [`PingHandler::poll`]
|
||||
/// If the maximum number of allowed ping failures is reached, the
|
||||
/// connection is always terminated as a result of [`ProtocolsHandler::poll`]
|
||||
/// returning an error, regardless of the keep-alive setting.
|
||||
pub fn with_keep_alive(mut self, b: bool) -> Self {
|
||||
self.keep_alive = b;
|
||||
|
Reference in New Issue
Block a user