From c812e64f793e499dabb4319d29c211dc4f63e674 Mon Sep 17 00:00:00 2001 From: playX18 Date: Tue, 17 Dec 2024 11:48:14 +0700 Subject: [PATCH] add a doc comment for MemoryPagesInner --- ethexe/runtime/common/src/state.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ethexe/runtime/common/src/state.rs b/ethexe/runtime/common/src/state.rs index facbe376b96..af14882cf08 100644 --- a/ethexe/runtime/common/src/state.rs +++ b/ethexe/runtime/common/src/state.rs @@ -899,6 +899,8 @@ impl IndexMut for MemoryPages { } } +/// An inner structure for [`MemoryPages`]. Has at most 256 entries because +/// [`RegionIdx`] is `u8` internally. pub type MemoryPagesInner = [MaybeHashOf; 256]; impl MemoryPages {