From 0592bd06a87a9f011dcf30e7231cd3ae3bb17c48 Mon Sep 17 00:00:00 2001 From: leopardracer <136604165+leopardracer@users.noreply.github.com> Date: Sat, 5 Jul 2025 10:38:25 +0300 Subject: [PATCH] docs: Consistent Spelling for "Reuse" in Documentation (#17232) --- crates/engine/tree/src/tree/payload_processor/sparse_trie.rs | 2 +- crates/trie/sparse/src/trie.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/engine/tree/src/tree/payload_processor/sparse_trie.rs b/crates/engine/tree/src/tree/payload_processor/sparse_trie.rs index eeb6acde2a..bd8702826d 100644 --- a/crates/engine/tree/src/tree/payload_processor/sparse_trie.rs +++ b/crates/engine/tree/src/tree/payload_processor/sparse_trie.rs @@ -149,7 +149,7 @@ where self.metrics.sparse_trie_final_update_duration_histogram.record(start.elapsed()); self.metrics.sparse_trie_total_duration_histogram.record(now.elapsed()); - // take the account trie so that we can re-use its already allocated data structures. + // take the account trie so that we can reuse its already allocated data structures. let trie = self.trie.take_cleared_accounts_trie(); Ok(StateRootComputeOutcome { state_root, trie_updates, trie }) diff --git a/crates/trie/sparse/src/trie.rs b/crates/trie/sparse/src/trie.rs index 2bbe94d4f7..5bb8c7aef8 100644 --- a/crates/trie/sparse/src/trie.rs +++ b/crates/trie/sparse/src/trie.rs @@ -49,7 +49,7 @@ pub enum SparseTrie { /// until nodes are revealed. /// /// In this state the `SparseTrie` can optionally carry with it a cleared `RevealedSparseTrie`. - /// This allows for re-using the trie's allocations between payload executions. + /// This allows for reusing the trie's allocations between payload executions. Blind(Option>), /// Some nodes in the Trie have been revealed. ///