]> Repositorios git - scryer-prolog.git/commitdiff
revert removal of PartialEq
authorSkgland <[email protected]>
Fri, 26 Feb 2021 18:58:55 +0000 (19:58 +0100)
committerSkgland <[email protected]>
Sun, 28 Feb 2021 18:21:32 +0000 (19:21 +0100)
crates/prolog_parser/src/lexer.rs

index b9bda1d0f71371ae4057a5d4d7748330e51e24df..02053035cec80d4060139842b6f88934765e7e9b 100644 (file)
@@ -33,7 +33,7 @@ macro_rules! consume_chars_with {
     };
 }
 
-#[derive(Debug, Clone)]
+#[derive(Debug, Clone, PartialEq)]
 pub enum Token {
     Constant(Constant),
     Var(Rc<Atom>),