mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-27 16:18:08 -05:00
fix link typo on BlockState (#10431)
This commit is contained in:
@@ -567,12 +567,12 @@ pub struct BlockState {
|
||||
|
||||
#[allow(dead_code)]
|
||||
impl BlockState {
|
||||
/// `BlockState` constructor.
|
||||
/// [`BlockState`] constructor.
|
||||
pub const fn new(block: ExecutedBlock) -> Self {
|
||||
Self { block, parent: None }
|
||||
}
|
||||
|
||||
/// `BlockState` constructor with parent.
|
||||
/// [`BlockState`] constructor with parent.
|
||||
pub fn with_parent(block: ExecutedBlock, parent: Option<Self>) -> Self {
|
||||
Self { block, parent: parent.map(Box::new) }
|
||||
}
|
||||
@@ -657,7 +657,7 @@ impl BlockState {
|
||||
chain
|
||||
}
|
||||
|
||||
/// Appends the parent chain of this `BlockState` to the given vector.
|
||||
/// Appends the parent chain of this [`BlockState`] to the given vector.
|
||||
pub fn append_parent_chain<'a>(&'a self, chain: &mut Vec<&'a Self>) {
|
||||
chain.extend(self.parent_state_chain());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user