Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit 92a5ceb

Browse files
committed
Undo a diff from main
Needed historically but these changes are needed no more
1 parent f0bc20f commit 92a5ceb

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

crates/wasmtime/src/runtime/memory.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -611,11 +611,7 @@ impl Memory {
611611
/// # Ok(())
612612
/// # }
613613
/// ```
614-
pub fn grow<T: 'static>(
615-
&self,
616-
mut store: impl AsContextMut<Data = T>,
617-
delta: u64,
618-
) -> Result<u64> {
614+
pub fn grow(&self, mut store: impl AsContextMut, delta: u64) -> Result<u64> {
619615
let store = store.as_context_mut().0;
620616
let mem = self.wasmtime_memory(store);
621617
unsafe {

0 commit comments

Comments
 (0)