mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-09 15:28:01 -05:00
docs: fix intra-doc links to private method
Remove square bracket linking syntax for `Self::history_info` since it's a private method. The doc linter warns about private intra-doc links.
This commit is contained in:
@@ -672,7 +672,7 @@ impl<'db> RocksTx<'db> {
|
|||||||
|
|
||||||
/// Lookup account history and return [`HistoryInfo`] directly.
|
/// Lookup account history and return [`HistoryInfo`] directly.
|
||||||
///
|
///
|
||||||
/// This is a thin wrapper around [`Self::history_info`] that:
|
/// This is a thin wrapper around `history_info` that:
|
||||||
/// - Builds the `ShardedKey` for the address + target block.
|
/// - Builds the `ShardedKey` for the address + target block.
|
||||||
/// - Validates that the found shard belongs to the same address.
|
/// - Validates that the found shard belongs to the same address.
|
||||||
pub fn account_history_info(
|
pub fn account_history_info(
|
||||||
@@ -697,7 +697,7 @@ impl<'db> RocksTx<'db> {
|
|||||||
|
|
||||||
/// Lookup storage history and return [`HistoryInfo`] directly.
|
/// Lookup storage history and return [`HistoryInfo`] directly.
|
||||||
///
|
///
|
||||||
/// This is a thin wrapper around [`Self::history_info`] that:
|
/// This is a thin wrapper around `history_info` that:
|
||||||
/// - Builds the `StorageShardedKey` for address + storage key + target block.
|
/// - Builds the `StorageShardedKey` for address + storage key + target block.
|
||||||
/// - Validates that the found shard belongs to the same address and storage slot.
|
/// - Validates that the found shard belongs to the same address and storage slot.
|
||||||
pub fn storage_history_info(
|
pub fn storage_history_info(
|
||||||
|
|||||||
Reference in New Issue
Block a user