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:
yongkangc
2025-12-30 13:09:44 +00:00
parent 97a55ff7e3
commit a1ec8a75a1

View File

@@ -672,7 +672,7 @@ impl<'db> RocksTx<'db> {
/// 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.
/// - Validates that the found shard belongs to the same address.
pub fn account_history_info(
@@ -697,7 +697,7 @@ impl<'db> RocksTx<'db> {
/// 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.
/// - Validates that the found shard belongs to the same address and storage slot.
pub fn storage_history_info(