Skip to content

Commit

Permalink
Fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
data-retriever authored and Data Retriever committed Jul 21, 2024
1 parent 13b65fe commit 9c81591
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/descriptor/key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ fn fmt_derivation_path(f: &mut fmt::Formatter, path: &bip32::DerivationPath) ->
}

/// Writes multiple derivation paths to the formatter, no leading 'm'.
/// NOTE: we assume paths only differ at a sindle index, as prescribed by BIP389.
/// NOTE: we assume paths only differ at a single index, as prescribed by BIP389.
/// Will panic if the list of paths is empty.
fn fmt_derivation_paths(f: &mut fmt::Formatter, paths: &[bip32::DerivationPath]) -> fmt::Result {
for (i, child) in paths[0].into_iter().enumerate() {
Expand Down
2 changes: 1 addition & 1 deletion src/descriptor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ impl Descriptor<DescriptorPublicKey> {
/// # assert_eq!(descriptor.derived_descriptor(&secp, index).unwrap(), derived_descriptor);
/// ```
///
/// and is only here really here for backwards compatbility.
/// and is only here really here for backwards compatibility.
/// See [`at_derivation_index`] and `[derived_descriptor`] for more documentation.
///
/// [`at_derivation_index`]: Self::at_derivation_index
Expand Down

0 comments on commit 9c81591

Please sign in to comment.