chore: fix doc lints (#4639)

This commit is contained in:
Alexey Shekhirin
2023-09-18 18:08:35 +01:00
committed by GitHub
parent cabb5bee24
commit 4aa3ebdbdd
23 changed files with 52 additions and 61 deletions

View File

@ -1217,7 +1217,7 @@ impl PeersConfig {
/// The durations to use when a backoff should be applied to a peer.
///
/// See also [`BackoffKind`](BackoffKind).
/// See also [`BackoffKind`].
#[derive(Debug, Clone, Copy, PartialEq)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct PeerBackoffDurations {

View File

@ -236,7 +236,7 @@ where
/// Propagate the transactions to all connected peers either as full objects or hashes
///
/// The message for new pooled hashes depends on the negotiated version of the stream.
/// See [NewPooledTransactionHashes](NewPooledTransactionHashes)
/// See [NewPooledTransactionHashes]
///
/// Note: EIP-4844 are disallowed from being broadcast in full and are only ever sent as hashes, see also <https://eips.ethereum.org/EIPS/eip-4844#networking>.
fn propagate_transactions(
@ -827,7 +827,7 @@ struct Peer {
client_version: Arc<String>,
}
/// Commands to send to the [`TransactionsManager`](crate::transactions::TransactionsManager)
/// Commands to send to the [`TransactionsManager`]
enum TransactionsCommand {
PropagateHash(H256),
}