Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
dragoljub-duric committed Jul 11, 2023
1 parent a4923bb commit 7bdb67b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/memory_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,6 @@ impl<M: Memory> MemoryManagerInner<M> {
}
}

//here
fn read(&self, id: MemoryId, offset: u64, dst: &mut [u8]) {
if (offset + dst.len() as u64) > self.memory_size(id) * WASM_PAGE_SIZE {
panic!("{id:?}: read out of bounds");
Expand Down

0 comments on commit 7bdb67b

Please sign in to comment.