Skip to content

Commit 814ab4c

Browse files
committed
dsl: fix descriptor macro when and_or() used
1 parent fbdee52 commit 814ab4c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/descriptor/dsl.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ macro_rules! impl_node_opcode_two {
175175
#[doc(hidden)]
176176
#[macro_export]
177177
macro_rules! impl_node_opcode_three {
178-
( $terminal_variant:ident, $( $inner:tt )* ) => {
178+
( $terminal_variant:ident, $( $inner:tt )* ) => ({
179179
use $crate::descriptor::CheckMiniscript;
180180

181181
let inner = $crate::fragment_internal!( @t $( $inner )* );
@@ -201,7 +201,7 @@ macro_rules! impl_node_opcode_three {
201201

202202
Ok((minisc, a_keymap, networks))
203203
})
204-
};
204+
});
205205
}
206206

207207
#[doc(hidden)]

0 commit comments

Comments
 (0)