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

Commit c67a6cd

Browse files
committed
Remove unnecessary send bounds
1 parent d80794f commit c67a6cd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • crates/wasmtime/src/runtime/component/func

crates/wasmtime/src/runtime/component/func/typed.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ where
164164
/// Panics if this is called on a function in an asynchronous store. This
165165
/// only works with functions defined within a synchronous store. Also
166166
/// panics if `store` does not own this function.
167-
pub fn call(&self, store: impl AsContextMut<Data: Send>, params: Params) -> Result<Return>
167+
pub fn call(&self, store: impl AsContextMut, params: Params) -> Result<Return>
168168
where
169169
Return: Send + Sync + 'static,
170170
{
@@ -379,7 +379,7 @@ where
379379
}
380380
}
381381

382-
fn call_impl(&self, mut store: impl AsContextMut<Data: Send>, params: Params) -> Result<Return>
382+
fn call_impl(&self, mut store: impl AsContextMut, params: Params) -> Result<Return>
383383
where
384384
Return: Send + Sync + 'static,
385385
{

0 commit comments

Comments
 (0)