docs: fix typo in documentation comments (#17207)

This commit is contained in:
leopardracer
2025-07-04 17:53:29 +03:00
committed by GitHub
parent a46d0c0273
commit 47d2ed55d1
2 changed files with 2 additions and 2 deletions

View File

@@ -68,7 +68,7 @@ where
precompile_cache_disabled: bool,
/// Precompile cache map.
precompile_cache_map: PrecompileCacheMap<SpecFor<Evm>>,
/// A cleared sparse trie, kept around to be re-used for the state root computation so that
/// A cleared sparse trie, kept around to be reused for the state root computation so that
/// allocations can be minimized.
sparse_trie: Option<SparseTrie>,
_marker: std::marker::PhantomData<N>,

View File

@@ -214,7 +214,7 @@ pub trait SparseTrieInterface: Default + Debug {
/// Removes all nodes and values from the trie, resetting it to a blank state
/// with only an empty root node. This is used when a storage root is deleted.
///
/// This should not be used when intending to re-use the trie for a fresh account/storage root;
/// This should not be used when intending to reuse the trie for a fresh account/storage root;
/// use `clear` for that.
///
/// Note: All previously tracked changes to the trie are also removed.