mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
chore: fix doc lints (#4639)
This commit is contained in:
@@ -810,7 +810,7 @@ pub struct BlockBody {
|
||||
}
|
||||
|
||||
impl BlockBody {
|
||||
/// Create a [`Block`](Block) from the body and its header.
|
||||
/// Create a [`Block`] from the body and its header.
|
||||
pub fn create_block(&self, header: Header) -> Block {
|
||||
Block {
|
||||
header,
|
||||
|
||||
@@ -463,7 +463,7 @@ impl ChainSpec {
|
||||
.unwrap_or_else(|| self.is_fork_active_at_timestamp(Hardfork::Cancun, timestamp))
|
||||
}
|
||||
|
||||
/// Creates a [`ForkFilter`](crate::ForkFilter) for the block described by [Head].
|
||||
/// Creates a [`ForkFilter`] for the block described by [Head].
|
||||
pub fn fork_filter(&self, head: Head) -> ForkFilter {
|
||||
let forks = self.forks_iter().filter_map(|(_, condition)| {
|
||||
// We filter out TTD-based forks w/o a pre-known block since those do not show up in the
|
||||
|
||||
@@ -69,7 +69,7 @@ impl<'de> Deserialize<'de> for U64HexOrNumber {
|
||||
}
|
||||
}
|
||||
|
||||
/// serde functions for handling primitive `u64` as [U64](crate::U64)
|
||||
/// serde functions for handling primitive `u64` as [U64]
|
||||
pub mod u64_hex_or_decimal {
|
||||
use crate::serde_helper::num::U64HexOrNumber;
|
||||
use serde::{Deserialize, Deserializer, Serialize, Serializer};
|
||||
@@ -89,7 +89,7 @@ pub mod u64_hex_or_decimal {
|
||||
}
|
||||
}
|
||||
|
||||
/// serde functions for handling primitive optional `u64` as [U64](crate::U64)
|
||||
/// serde functions for handling primitive optional `u64` as [U64]
|
||||
pub mod u64_hex_or_decimal_opt {
|
||||
use crate::serde_helper::num::U64HexOrNumber;
|
||||
use serde::{Deserialize, Deserializer, Serialize, Serializer};
|
||||
|
||||
Reference in New Issue
Block a user