Skip to content

Commit 2a619bf

Browse files
committed
improve hygiene of bail_unreachable macro
1 parent b9faf2f commit 2a619bf

File tree

1 file changed

+1
-1
lines changed
  • crates/wasmi/src/engine/translator/func2

1 file changed

+1
-1
lines changed

crates/wasmi/src/engine/translator/func2/utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use crate::ir::{Const16, Reg};
1212
macro_rules! bail_unreachable {
1313
($this:ident) => {{
1414
if !$this.reachable {
15-
return Ok(());
15+
return ::core::result::Result::Ok(());
1616
}
1717
}};
1818
}

0 commit comments

Comments
 (0)