From d530ad6da54790863d2d75387c5c0cc650cd89ae Mon Sep 17 00:00:00 2001 From: Noah Hellman Date: Fri, 27 Jan 2023 17:04:36 +0100 Subject: [PATCH] lex: rm unused ampersand token --- src/lex.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lex.rs b/src/lex.rs index a4710b5..9d2b552 100644 --- a/src/lex.rs +++ b/src/lex.rs @@ -40,7 +40,6 @@ pub enum Delimiter { #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub enum Symbol { - Ampersand, Asterisk, Caret, Equal, @@ -207,7 +206,6 @@ impl + Clone> Lexer { Open(Brace) } } - '&' => self.maybe_eat_close_brace(Ampersand, BraceAsterisk), '*' => self.maybe_eat_close_brace(Asterisk, BraceAsterisk), '^' => self.maybe_eat_close_brace(Caret, BraceCaret), '=' => self.maybe_eat_close_brace(Equal, BraceEqual),