Skip to content

Commit b9b70c8

Browse files
committed
dev: make Memory::get pub
1 parent 82e465b commit b9b70c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vm/src/vm/vm_memory/memory.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ impl Memory {
238238
}
239239

240240
/// Retrieve a value from memory (either normal or temporary) and apply relocation rules
241-
pub(crate) fn get<'a, 'b: 'a, K: 'a>(&'b self, key: &'a K) -> Option<Cow<'b, MaybeRelocatable>>
241+
pub fn get<'a, 'b: 'a, K: 'a>(&'b self, key: &'a K) -> Option<Cow<'b, MaybeRelocatable>>
242242
where
243243
Relocatable: TryFrom<&'a K>,
244244
{

0 commit comments

Comments
 (0)