From dfd9384d1420fd9a4a98c68ed8994a8af56f56e5 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Wed, 26 Jul 2023 14:43:56 +1000 Subject: [PATCH] opcodes: Fix whitespace Fix indentation of macro code and remove unnecessary line of whitespace. --- bitcoin/src/blockdata/opcodes.rs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/bitcoin/src/blockdata/opcodes.rs b/bitcoin/src/blockdata/opcodes.rs index c35a2aee..165213e3 100644 --- a/bitcoin/src/blockdata/opcodes.rs +++ b/bitcoin/src/blockdata/opcodes.rs @@ -51,10 +51,10 @@ macro_rules! all_opcodes { /// constants are guaranteed to begin with OP_. pub mod all { use super::All; - $( - #[doc = $doc] - pub const $op: All = All { code: $val}; - )* + $( + #[doc = $doc] + pub const $op: All = All { code: $val}; + )* } impl fmt::Display for All { @@ -66,7 +66,6 @@ macro_rules! all_opcodes { } } } - } }