Skip to content

Commit

Permalink
add a doc comment for MemoryPagesInner
Browse files Browse the repository at this point in the history
  • Loading branch information
playX18 committed Dec 17, 2024
1 parent c1a772b commit c812e64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ethexe/runtime/common/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -899,6 +899,8 @@ impl IndexMut<RegionIdx> for MemoryPages {
}
}

/// An inner structure for [`MemoryPages`]. Has at most 256 entries because
/// [`RegionIdx`] is `u8` internally.
pub type MemoryPagesInner = [MaybeHashOf<MemoryPagesRegion>; 256];

impl MemoryPages {
Expand Down

0 comments on commit c812e64

Please sign in to comment.