Commit a550947
committed
Merge rust-bitcoin#4937: fix: correct function names in deprecation notes
ca94c49 Fix typos in deprecated method names (jrakibi)
Pull request description:
While reviewing the code to better understand `script::Builder` (issue rust-bitcoin#4917), I noticed we referenced functions in deprecation notes and comments that don't exist
This PR:
- Fix deprecation note: `from_hex_string_no_length_prefix()` → `from_hex_no_length_prefix()`
- Fix comment in script example: `from_hex_string_prefixed` → `from_hex_prefixed`
ACKs for top commit:
tcharding:
ACK ca94c49
Tree-SHA512: c2382339780a944e13f3551e2bb9edc06d94f5be45118733fb12d8e61a440760ab5bd824ef956e5092032eb25859cd6cbbb42b3751e8df9475e275adec90e4392 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
0 commit comments