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

Commit 498db74

Browse files
committed
Fix some nightly warnings
1 parent 53bd1f3 commit 498db74

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

crates/wasmtime/src/runtime/component/concurrent.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ where
261261
{
262262
type Data = T;
263263

264-
fn as_context(&self) -> StoreContext<T> {
264+
fn as_context(&self) -> StoreContext<'_, T> {
265265
self.store.as_context()
266266
}
267267
}
@@ -271,7 +271,7 @@ where
271271
D: HasData,
272272
T: 'static,
273273
{
274-
fn as_context_mut(&mut self) -> StoreContextMut<T> {
274+
fn as_context_mut(&mut self) -> StoreContextMut<'_, T> {
275275
self.store.as_context_mut()
276276
}
277277
}

0 commit comments

Comments
 (0)