Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
georgehao committed Jan 20, 2025
1 parent ec18070 commit d22a49b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/trie/common/src/updates.rs
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ pub struct TrieUpdatesSorted {

impl TrieUpdatesSorted {
/// Returns reference to updated account nodes.
#[allow(clippy::missing_const_for_fn)]
pub fn account_nodes_ref(&self) -> &[(Nibbles, BranchNodeCompact)] {
&self.account_nodes
}
Expand Down Expand Up @@ -394,6 +395,7 @@ impl StorageTrieUpdatesSorted {
}

/// Returns reference to updated storage nodes.
#[allow(clippy::missing_const_for_fn)]
pub fn storage_nodes_ref(&self) -> &[(Nibbles, BranchNodeCompact)] {
&self.storage_nodes
}
Expand Down

0 comments on commit d22a49b

Please sign in to comment.