Skip to content

Commit 8b07c3b

Browse files
committed
move comment
1 parent efbfb48 commit 8b07c3b

File tree

1 file changed

+1
-1
lines changed
  • crates/wasmi/src/engine/executor/handler

1 file changed

+1
-1
lines changed

crates/wasmi/src/engine/executor/handler/state.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,8 @@ pub struct ValueStack {
381381

382382
impl ValueStack {
383383
fn new(min_height: usize, max_height: usize) -> Self {
384-
// We need to convert from `size_of<Cell>`` to `size_of<u8>`:
385384
debug_assert!(min_height <= max_height);
385+
// We need to convert from `size_of<Cell>`` to `size_of<u8>`:
386386
let sizeof_cell = mem::size_of::<UntypedVal>();
387387
let min_height = min_height / sizeof_cell;
388388
let max_height = max_height / sizeof_cell;

0 commit comments

Comments
 (0)