Skip to content

Commit 60d55a3

Browse files
committed
Remove a runaway explicit drop
1 parent f1e773d commit 60d55a3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

crates/wasi-common/src/snapshots/wasi_snapshot_preview1.rs

-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,6 @@ impl<'a> WasiSnapshotPreview1 for WasiCtx {
223223
.preadv(&mut buf, offset)?
224224
.try_into()?
225225
};
226-
drop(guest_slices);
227226
Ok(host_nread)
228227
}
229228

0 commit comments

Comments
 (0)