Skip to content

Commit 53cd590

Browse files
committed
double-brace swap_ops macro expansion
1 parent b5193c5 commit 53cd590

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ macro_rules! bail_unreachable {
2121
///
2222
/// [`Instruction`]: crate::ir::Instruction
2323
macro_rules! swap_ops {
24-
($make_instr:path) => {
24+
($make_instr:path) => {{
2525
|result: $crate::ir::Reg, lhs, rhs| -> $crate::ir::Instruction {
2626
$make_instr(result, rhs, lhs)
2727
}
28-
};
28+
}};
2929
}
3030

3131
/// Implemented by types that can be reset for reuse.

0 commit comments

Comments
 (0)