Skip to content

Commit 9d79694

Browse files
committed
chore: adapt to Accessor mutability changes
Signed-off-by: Roman Volosatovs <[email protected]>
1 parent dbc12db commit 9d79694

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/wasi/src/p3/clocks/host.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ where
4747
T: WasiClocksView + 'static,
4848
{
4949
async fn wait_until<U>(
50-
store: &mut Accessor<U, Self>,
50+
store: &Accessor<U, Self>,
5151
when: monotonic_clock::Instant,
5252
) -> wasmtime::Result<()> {
5353
let clock_now = store.with(|mut view| view.get().clocks().monotonic_clock.now());
@@ -58,7 +58,7 @@ where
5858
}
5959

6060
async fn wait_for<U>(
61-
_store: &mut Accessor<U, Self>,
61+
_store: &Accessor<U, Self>,
6262
duration: monotonic_clock::Duration,
6363
) -> wasmtime::Result<()> {
6464
if duration > 0 {

0 commit comments

Comments
 (0)