Skip to content

Commit e712ec4

Browse files
committed
Fix typos in comments and messages
1 parent 83a5214 commit e712ec4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

fuzz/fuzz_targets/compile_descriptor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ fn do_test(data: &[u8]) {
2222
let rtt = desc.to_string();
2323
assert_eq!(output.to_lowercase(), rtt.to_lowercase());
2424
} else {
25-
panic!("compiler output something unparseable: {}", output)
25+
panic!("compiler output something unparsable: {}", output)
2626
}
2727
}
2828
}

src/descriptor/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ impl<Pk: MiniscriptKey> Descriptor<Pk> {
156156

157157
/// Create a new pk descriptor
158158
pub fn new_pk(pk: Pk) -> Self {
159-
// roundabout way to constuct `c:pk_k(pk)`
159+
// roundabout way to construct `c:pk_k(pk)`
160160
let ms: Miniscript<Pk, BareCtx> = Miniscript::from_ast(Terminal::Check(Arc::new(
161161
Miniscript::from_ast(Terminal::PkK(pk)).expect("Type check cannot fail"),
162162
)))

src/miniscript/context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,7 @@ impl ScriptContext for BareCtx {
783783

784784
/// "No Checks Ecdsa" Context
785785
///
786-
/// Used by the "satisified constraints" iterator, which is intended to read
786+
/// Used by the "satisfied constraints" iterator, which is intended to read
787787
/// scripts off of the blockchain without doing any sanity checks on them.
788788
/// This context should *NOT* be used unless you know what you are doing.
789789
#[derive(Debug, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)]

0 commit comments

Comments
 (0)