wasm_interp: Fix PR feedback

This commit is contained in:
Brian Carroll 2022-11-24 19:09:21 +00:00
parent 2050f0ac2f
commit 6d84c85078
No known key found for this signature in database
GPG key ID: 5C7B2EC4101703C0
2 changed files with 3 additions and 3 deletions

View file

@ -50,7 +50,7 @@ impl<'a> ExecutionState<'a> {
) -> Result<Self, String> {
let mem_bytes = module.memory.min_bytes().map_err(|e| {
format!(
"Error parsing Memory section at offset 0x{:x}:\n{}",
"Error parsing Memory section at offset {:#x}:\n{}",
e.offset, e.message
)
})?;