From 646d79dbb2339bb3bc615add2261a1e965003c95 Mon Sep 17 00:00:00 2001 From: mlombardi Date: Thu, 16 Oct 2025 23:21:10 +0800 Subject: [PATCH] chore: correct typos across files --- CHANGELOG.md | 2 +- src/miniscript/satisfy.rs | 2 +- src/plan.rs | 4 ++-- src/policy/concrete.rs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d52c78b49..1a3408e0a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -161,7 +161,7 @@ See this (link)[https://github.com/rust-bitcoin/rust-miniscript/pull/349/commits - Add sortedmulti descriptor - Added standardness and other sanity checks - Cleaned up `Error` type and return values of most of the API -- Overhauled `satisfied_constraints` module into a new `Iterpreter` API +- Overhauled `satisfied_constraints` module into a new `Interpreter` API # 3.0.0 - Oct 13, 2020 diff --git a/src/miniscript/satisfy.rs b/src/miniscript/satisfy.rs index 25c781798..027aabd7f 100644 --- a/src/miniscript/satisfy.rs +++ b/src/miniscript/satisfy.rs @@ -1079,7 +1079,7 @@ impl Satisfaction> { } } - // produce a possily malleable satisafaction for thesh frag + // produce a possibly malleable satisafaction for thesh frag fn thresh_mall( thresh: &Threshold>, 0>, stfr: &Sat, diff --git a/src/plan.rs b/src/plan.rs index 40ad5ea0e..c3bfd5618 100644 --- a/src/plan.rs +++ b/src/plan.rs @@ -520,7 +520,7 @@ pub struct Assets { // Checks if the `pk` is a "direct child" of the `derivation_path` provided. // Direct child means that the key derivation path is either the same as the -// `derivation_path`, or the same extened by exactly one child number. +// `derivation_path`, or the same extended by exactly one child number. // For example, `pk/0/1/2` is a direct child of `m/0/1` and of `m/0/1/2`, // but not of `m/0`. fn is_key_direct_child_of( @@ -690,7 +690,7 @@ impl IntoAssets for Assets { } impl Assets { - /// Contruct an empty instance + /// Construct an empty instance pub fn new() -> Self { Self::default() } /// Add some assets diff --git a/src/policy/concrete.rs b/src/policy/concrete.rs index 547b4e86d..59932e652 100644 --- a/src/policy/concrete.rs +++ b/src/policy/concrete.rs @@ -30,7 +30,7 @@ use crate::{ AbsLockTime, Error, ForEachKey, FromStrKey, MiniscriptKey, RelLockTime, Threshold, Translator, }; -/// Maximum TapLeafs allowed in a compiled TapTree +/// Maximum `TapLeaf`s allowed in a compiled TapTree #[cfg(feature = "compiler")] const MAX_COMPILATION_LEAVES: usize = 1024;