Skip to content

Commit 3204622

Browse files
committed
Merge rust-bitcoin#5013: docs: fix typos
d2ba147 Update transaction.rs (viktorking7) 43da48b Update primitives.md (viktorking7) Pull request description: ```markdown ## Summary Minor documentation improvements and typo fixes across the codebase. - **`docs/primitives.md`**: - Fix typo: `consenus-encoding` → `consensus-encoding` - **`primitives/src/transaction.rs`**: - Fix typo: `pre-pended` → `prepended` in serde comment ``` ACKs for top commit: apoelstra: ACK d2ba147; successfully ran local tests Tree-SHA512: 1c6f039e9f240e65178d5fa78544e21c1a458971c3031ecd7fa504067d723f5a6264389ba2ed05a57a019a4a49693e2d114a6c2706157b51ca58c3037ff3461b
2 parents e5260ae + d2ba147 commit 3204622

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/primitives.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ GitHub discussion: https://github.com/rust-bitcoin/rust-bitcoin/discussions/4856
1010

1111
Pull encoding done in: https://github.com/rust-bitcoin/rust-bitcoin/pull/4912
1212

13-
<!-- TODO: Add a consenus-encoding.md file? -->
13+
<!-- TODO: Add a consensus-encoding.md file? -->
1414

1515
### Remove `hashes` from the public API.
1616

primitives/src/transaction.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,7 @@ mod tests {
845845
fn out_point_serde_deserialize_non_human_readable() {
846846
#[rustfmt::skip]
847847
let bytes = [
848-
// Length, pre-pended by the `serde` infrastructure because we use
848+
// Length, prepended by the `serde` infrastructure because we use
849849
// slice serialization instead of array even though we know the length.
850850
32, 0, 0, 0, 0, 0, 0, 0,
851851
// The txid bytes

0 commit comments

Comments
 (0)