From c4cfdbbd6a1eee6df9fc9a2fe630131ed073b95d Mon Sep 17 00:00:00 2001 From: Collins Muriuki Date: Sat, 3 Apr 2021 23:52:09 +0300 Subject: [PATCH] doc: correct Transaction struct encode_signing_data_to doc comment --- src/blockdata/transaction.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/blockdata/transaction.rs b/src/blockdata/transaction.rs index acf50987..f45b8908 100644 --- a/src/blockdata/transaction.rs +++ b/src/blockdata/transaction.rs @@ -315,8 +315,8 @@ impl Transaction { /// evaluating `script_pubkey` to determine which separators get evaluated and which don't, /// which we don't have the information to determine. /// - /// # Panics Panics if `input_index` is greater than or equal to `self.input.len()` - /// + /// # Panics + /// Panics if `input_index` is greater than or equal to `self.input.len()` pub fn encode_signing_data_to>( &self, mut writer: Write,