Skip to content

Commit 9c81591

Browse files
data-retrieverData Retriever
authored and
Data Retriever
committed
Fixed typos
1 parent 13b65fe commit 9c81591

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/descriptor/key.rs

+1-1
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

+1-1
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)