From 1127897bd87d13bd10dcb45d52e5dcd0547770f6 Mon Sep 17 00:00:00 2001 From: ConnorSkees <39542938+ConnorSkees@users.noreply.github.com> Date: Sun, 22 Mar 2020 00:48:07 -0400 Subject: [PATCH] rustfmt --- src/common.rs | 2 +- src/lexer.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common.rs b/src/common.rs index d38e42b..4978cc9 100644 --- a/src/common.rs +++ b/src/common.rs @@ -62,7 +62,7 @@ pub enum Symbol { /// \ BackSlash, /// ` - BackTick + BackTick, } impl Display for Symbol { diff --git a/src/lexer.rs b/src/lexer.rs index 2beb858..57e9db1 100644 --- a/src/lexer.rs +++ b/src/lexer.rs @@ -141,7 +141,7 @@ impl<'a> Iterator for Lexer<'a> { c if c.is_control() => { self.buf.next(); TokenKind::Error("Expected expression.".into()) - }, + } _ => self.lex_ident(), }; self.pos.next_char();