commit | 5372f4b1bf485453af47e8eec8b6bc4b23d036be | [log] [tgz] |
---|---|---|
author | Michael Layzell <michael@thelayzells.com> | Fri Jun 02 10:29:31 2017 -0400 |
committer | Michael Layzell <michael@thelayzells.com> | Fri Jun 02 10:29:31 2017 -0400 |
tree | 036555e9b3d5831d302d88807a94e8a58d902a23 | |
parent | 9045817247e31cc652f13cec61a3cebbe28644c4 [diff] [blame] |
Derive Eq and PartialEq on OpKind and Delimiter
diff --git a/src/lib.rs b/src/lib.rs index 571ecf6..d4b8b23 100644 --- a/src/lib.rs +++ b/src/lib.rs
@@ -119,7 +119,7 @@ Literal(Literal), } -#[derive(Copy, Clone, Debug)] +#[derive(Copy, Clone, Debug, Eq, PartialEq)] pub enum Delimiter { Parenthesis, Brace, @@ -148,7 +148,7 @@ } } -#[derive(Copy, Clone, Debug)] +#[derive(Copy, Clone, Debug, Eq, PartialEq)] pub enum OpKind { Alone, Joint,