Skip to content

Commit 1fafde2

Browse files
committed
Merge #866: chore: correct typos across files
646d79d chore: correct typos across files (mlombardi) Pull request description: Fixed a few typos — “possily” → “possibly”, “TapLeafs” → " `TapLeaf`s ", “Contruct” → “Construct”, and fixed the misspelled “Interpreter”. ACKs for top commit: apoelstra: ACK 646d79d; successfully ran local tests Tree-SHA512: 5bf6538a24dd6316a87504d881069b187f1743142778d9767384443c6ae028690a239465616fbf0912fc0a60b5f947c2aa00c208b9be95282adea7d586379a8c
2 parents 1179ea2 + 646d79d commit 1fafde2

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ See this (link)[https://github.com/rust-bitcoin/rust-miniscript/pull/349/commits
161161
- Add sortedmulti descriptor
162162
- Added standardness and other sanity checks
163163
- Cleaned up `Error` type and return values of most of the API
164-
- Overhauled `satisfied_constraints` module into a new `Iterpreter` API
164+
- Overhauled `satisfied_constraints` module into a new `Interpreter` API
165165

166166
# 3.0.0 - Oct 13, 2020
167167

src/miniscript/satisfy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1079,7 +1079,7 @@ impl<Pk: MiniscriptKey + ToPublicKey> Satisfaction<Placeholder<Pk>> {
10791079
}
10801080
}
10811081

1082-
// produce a possily malleable satisafaction for thesh frag
1082+
// produce a possibly malleable satisafaction for thesh frag
10831083
fn thresh_mall<Ctx, Sat, F>(
10841084
thresh: &Threshold<Arc<Miniscript<Pk, Ctx>>, 0>,
10851085
stfr: &Sat,

src/plan.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ pub struct Assets {
520520

521521
// Checks if the `pk` is a "direct child" of the `derivation_path` provided.
522522
// Direct child means that the key derivation path is either the same as the
523-
// `derivation_path`, or the same extened by exactly one child number.
523+
// `derivation_path`, or the same extended by exactly one child number.
524524
// For example, `pk/0/1/2` is a direct child of `m/0/1` and of `m/0/1/2`,
525525
// but not of `m/0`.
526526
fn is_key_direct_child_of(
@@ -690,7 +690,7 @@ impl IntoAssets for Assets {
690690
}
691691

692692
impl Assets {
693-
/// Contruct an empty instance
693+
/// Construct an empty instance
694694
pub fn new() -> Self { Self::default() }
695695

696696
/// Add some assets

src/policy/concrete.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ use crate::{
3030
AbsLockTime, Error, ForEachKey, FromStrKey, MiniscriptKey, RelLockTime, Threshold, Translator,
3131
};
3232

33-
/// Maximum TapLeafs allowed in a compiled TapTree
33+
/// Maximum `TapLeaf`s allowed in a compiled TapTree
3434
#[cfg(feature = "compiler")]
3535
const MAX_COMPILATION_LEAVES: usize = 1024;
3636

0 commit comments

Comments
 (0)