From: Skgland Date: Fri, 26 Feb 2021 18:58:55 +0000 (+0100) Subject: revert removal of PartialEq X-Git-Tag: v0.9.0~150^2~7^2 X-Git-Url: https://git.sagredo.dev/?a=commitdiff_plain;h=5a78f02dcb9c2ecf8833f31ecd6a9d83130dd737;p=scryer-prolog.git revert removal of PartialEq --- diff --git a/crates/prolog_parser/src/lexer.rs b/crates/prolog_parser/src/lexer.rs index b9bda1d0..02053035 100644 --- a/crates/prolog_parser/src/lexer.rs +++ b/crates/prolog_parser/src/lexer.rs @@ -33,7 +33,7 @@ macro_rules! consume_chars_with { }; } -#[derive(Debug, Clone)] +#[derive(Debug, Clone, PartialEq)] pub enum Token { Constant(Constant), Var(Rc),