Skip to content

Commit

Permalink
Add PartialEq, Eq to op enums
Browse files Browse the repository at this point in the history
  • Loading branch information
voltrevo committed Jul 17, 2024
1 parent 357c31f commit 79f54c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion valuescript_vm/src/binary_op.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#[derive(Copy, Clone, Debug)]
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
pub enum BinaryOp {
Plus,
Minus,
Expand Down
2 changes: 1 addition & 1 deletion valuescript_vm/src/unary_op.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#[derive(Clone, Debug)]
#[derive(Clone, Debug, PartialEq, Eq)]
pub enum UnaryOp {
Plus,
Minus,
Expand Down

0 comments on commit 79f54c2

Please sign in to comment.