From 814ab4c855bcfc660dbe425c55bfbf61bd2bc448 Mon Sep 17 00:00:00 2001 From: Evgenii P Date: Sat, 3 Jul 2021 13:51:43 +0700 Subject: [PATCH] dsl: fix descriptor macro when and_or() used --- src/descriptor/dsl.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/descriptor/dsl.rs b/src/descriptor/dsl.rs index e5bd1de6..be78feb5 100644 --- a/src/descriptor/dsl.rs +++ b/src/descriptor/dsl.rs @@ -175,7 +175,7 @@ macro_rules! impl_node_opcode_two { #[doc(hidden)] #[macro_export] macro_rules! impl_node_opcode_three { - ( $terminal_variant:ident, $( $inner:tt )* ) => { + ( $terminal_variant:ident, $( $inner:tt )* ) => ({ use $crate::descriptor::CheckMiniscript; let inner = $crate::fragment_internal!( @t $( $inner )* ); @@ -201,7 +201,7 @@ macro_rules! impl_node_opcode_three { Ok((minisc, a_keymap, networks)) }) - }; + }); } #[doc(hidden)]