Skip to content

Commit 1a1c734

Browse files
committed
Merge rust-bitcoin#5065: chore: fix typos
bb2b2d3 chore: fix typos (BonyHanter83) Pull request description: Fix `This is number of characters.` to `This is the number of characters.` Fix `leafs` to `leaves` ACKs for top commit: apoelstra: ACK bb2b2d3; successfully ran local tests Tree-SHA512: 817697ec0b0b9c4016df7f56a9e75d5b2c6002149938870beea6797d67a02348a800bd862e132942c589a2956aac05bbf56fd714c46f37b1683b03dbf5f17b38
2 parents acc8d02 + bb2b2d3 commit 1a1c734

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bitcoin/src/psbt/serialize.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ mod tests {
438438
use crate::script::ScriptBufExt as _;
439439
use crate::TapScriptBuf;
440440

441-
// Composes tree matching a given depth map, filled with dumb script leafs,
441+
// Composes tree matching a given depth map, filled with dumb script leaves,
442442
// each of which consists of a single push-int op code, with int value
443443
// increased for each consecutive leaf.
444444
pub fn compose_taproot_builder<'map>(

rustfmt.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ tab_spaces = 4
44
newline_style = "Auto"
55
indent_style = "Block"
66

7-
max_width = 100 # This is number of characters.
7+
max_width = 100 # This is the number of characters.
88
# `use_small_heuristics` is ignored if the granular width config values are explicitly set.
99
use_small_heuristics = "Max" # "Max" == All granular width settings same as `max_width`.
1010
# # Granular width configuration settings. These are percentages of `max_width`.

0 commit comments

Comments
 (0)