Skip to content

A lightweight WebAssembly runtime that is fast, secure, and standards-compliant

remove unused type parameter from `ResourceAny::resource_drop_async` (#12003)

Joel Dice9f4dbd119756
diff --git a/crates/wasmtime/src/runtime/component/resources/any.rs b/crates/wasmtime/src/runtime/component/resources/any.rs
index 8351818a81..279038f383 100644
--- a/crates/wasmtime/src/runtime/component/resources/any.rs
+++ b/crates/wasmtime/src/runtime/component/resources/any.rs
@@ -158,10 +158,7 @@ impl ResourceAny {
/// Same as [`ResourceAny::resource_drop`] except for use with async stores
/// to execute the destructor asynchronously.
#[cfg(feature = "async")]
- pub async fn resource_drop_async<T>(
- self,
- mut store: impl AsContextMut<Data: Send>,
- ) -> Result<()> {
+ pub async fn resource_drop_async(self, mut store: impl AsContextMut<Data: Send>) -> Result<()> {
let mut store = store.as_context_mut();
assert!(
store.0.async_support(),