Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/miniscript/lex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ pub enum Error {
InvalidInt {
/// The bytes of the push that were attempted to be parsed.
bytes: bitcoin::script::PushBytesBuf,
/// The error that occured.
/// The error that occurred.
err: bitcoin::script::Error,
},
/// Parsed an opcode outside of the Miniscript language.
Expand Down
4 changes: 2 additions & 2 deletions src/miniscript/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ mod private {
}
}

// non-const because Thresh::n is not becasue Vec::len is not (needs Rust 1.87)
// non-const because Thresh::n is not because Vec::len is not (needs Rust 1.87)
/// The `multi` combinator.
pub fn multi(thresh: crate::Threshold<Pk, MAX_PUBKEYS_PER_MULTISIG>) -> Self {
Self {
Expand All @@ -281,7 +281,7 @@ mod private {
}
}

// non-const because Thresh::n is not becasue Vec::len is not
// non-const because Thresh::n is not because Vec::len is not
/// The `multi` combinator.
pub fn multi_a(thresh: crate::Threshold<Pk, MAX_PUBKEYS_IN_CHECKSIGADD>) -> Self {
Self {
Expand Down
Loading