Skip to content

Commit aec747e

Browse files
committed
Merge #711: Fixed typos
9c81591 Fixed typos (Data Retriever) Pull request description: ACKs for top commit: tcharding: ACK 9c81591 apoelstra: ACK 9c81591 Tree-SHA512: d2955699db5f4f1f5b2f9bfda34116f4ae0a91ae4e85f5b5e6ef63fd13de0e3dffcdfb2693a72e691f9cfd438f39ef8d24fe1d6970500305cd86da07b29b5a10
2 parents e2794e8 + 9c81591 commit aec747e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/descriptor/key.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ fn fmt_derivation_path(f: &mut fmt::Formatter, path: &bip32::DerivationPath) ->
390390
}
391391

392392
/// Writes multiple derivation paths to the formatter, no leading 'm'.
393-
/// NOTE: we assume paths only differ at a sindle index, as prescribed by BIP389.
393+
/// NOTE: we assume paths only differ at a single index, as prescribed by BIP389.
394394
/// Will panic if the list of paths is empty.
395395
fn fmt_derivation_paths(f: &mut fmt::Formatter, paths: &[bip32::DerivationPath]) -> fmt::Result {
396396
for (i, child) in paths[0].into_iter().enumerate() {

src/descriptor/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ impl Descriptor<DescriptorPublicKey> {
644644
/// # assert_eq!(descriptor.derived_descriptor(&secp, index).unwrap(), derived_descriptor);
645645
/// ```
646646
///
647-
/// and is only here really here for backwards compatbility.
647+
/// and is only here really here for backwards compatibility.
648648
/// See [`at_derivation_index`] and `[derived_descriptor`] for more documentation.
649649
///
650650
/// [`at_derivation_index`]: Self::at_derivation_index

0 commit comments

Comments
 (0)