docs(storage): fix typos in storage crates (#20673)

Signed-off-by: Hwangjae Lee <meetrick@gmail.com>
Co-authored-by: YK <chiayongkang@hotmail.com>
This commit is contained in:
Hwangjae Lee
2025-12-30 15:18:35 +09:00
committed by GitHub
parent d72105b47c
commit 5053322711
3 changed files with 3 additions and 3 deletions

View File

@@ -119,7 +119,7 @@ pub trait DbCursorRW<T: Table> {
fn delete_current(&mut self) -> Result<(), DatabaseError>;
}
/// Read Write Cursor over `DupSorted` table.
/// Read Write Cursor over `DupSort` table.
pub trait DbDupCursorRW<T: DupSort> {
/// Delete all duplicate entries for current key.
fn delete_current_duplicates(&mut self) -> Result<(), DatabaseError>;

View File

@@ -48,7 +48,7 @@ pub struct NippyJarWriter<H: NippyJarHeader = ()> {
impl<H: NippyJarHeader> NippyJarWriter<H> {
/// Creates a [`NippyJarWriter`] from [`NippyJar`].
///
/// If will **always** attempt to heal any inconsistent state when called.
/// It will **always** attempt to heal any inconsistent state when called.
pub fn new(jar: NippyJar<H>) -> Result<Self, NippyJarError> {
let (data_file, offsets_file, is_created) =
Self::create_or_open_files(jar.data_path(), &jar.offsets_path())?;

View File

@@ -131,7 +131,7 @@ pub trait TryIntoHistoricalStateProvider {
/// Note: the `pending` block is considered the block that extends the canonical chain but one and
/// has the `latest` block as its parent.
///
/// All states are _inclusive_, meaning they include _all_ all changes made (executed transactions)
/// All states are _inclusive_, meaning they include _all_ changes made (executed transactions)
/// in their respective blocks. For example [`StateProviderFactory::history_by_block_number`] for
/// block number `n` will return the state after block `n` was executed (transactions, withdrawals).
/// In other words, all states point to the end of the state's respective block, which is equivalent