Skip to content

Commit f37d63a

Browse files
committed
lib: implement PartialEq for miniscript::Error
1 parent 19f4e06 commit f37d63a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ pub trait ForEachKey<Pk: MiniscriptKey> {
508508

509509
/// Miniscript
510510
511-
#[derive(Debug)]
511+
#[derive(Debug, PartialEq)]
512512
pub enum Error {
513513
/// Opcode appeared which is not part of the script subset
514514
InvalidOpcode(opcodes::All),

0 commit comments

Comments
 (0)