review feedback

This commit is contained in:
Pat Hickey
2021-10-21 12:04:20 -07:00
parent abbe28d833
commit 6c70b81ff5
3 changed files with 21 additions and 13 deletions

View File

@@ -378,6 +378,9 @@ impl Memory {
///
/// Generally, prefer using `InstanceHandle::memory_grow`, which encapsulates
/// this unsafety.
///
/// Ensure that the provided Store is not used to get access any Memory
/// which lives inside it.
pub unsafe fn grow(
&mut self,
delta_pages: u64,