doc: correct Transaction struct encode_signing_data_to doc comment

This commit is contained in:
Collins Muriuki 2021-04-03 23:52:09 +03:00 committed by GitHub
parent 1326f7d2a8
commit c4cfdbbd6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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<Write: io::Write, U: Into<u32>>(
&self,
mut writer: Write,