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

Commit b546c48

Browse files
committed
Same change but for tables
1 parent 92a5ceb commit b546c48

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

  • crates/wasmtime/src/runtime/externals

crates/wasmtime/src/runtime/externals/table.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -270,12 +270,7 @@ impl Table {
270270
/// (see also: [`Store::limiter_async`](`crate::Store::limiter_async`)).
271271
/// When using an async resource limiter, use [`Table::grow_async`]
272272
/// instead.
273-
pub fn grow<T: 'static>(
274-
&self,
275-
mut store: impl AsContextMut<Data = T>,
276-
delta: u64,
277-
init: Ref,
278-
) -> Result<u64> {
273+
pub fn grow(&self, mut store: impl AsContextMut, delta: u64, init: Ref) -> Result<u64> {
279274
let store = store.as_context_mut().0;
280275
let ty = self.ty(&store);
281276
let init = init.into_table_element(store, ty.element())?;

0 commit comments

Comments
 (0)