From 21ebb03242f6d84381d0c3ebe2c7b154b360229d Mon Sep 17 00:00:00 2001 From: ricky han Date: Tue, 26 Feb 2019 18:38:16 -0500 Subject: [PATCH] rust fmt --- parser/src/lexer.rs | 4 +--- rustfmt.toml | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/parser/src/lexer.rs b/parser/src/lexer.rs index bb2b3bcd3..619b2dd1a 100644 --- a/parser/src/lexer.rs +++ b/parser/src/lexer.rs @@ -687,9 +687,7 @@ where match self.chr0 { Some('0'..='9') => return Some(self.lex_number()), - Some('_') | Some('a'..='z') | Some('A'..='Z') => { - return Some(self.lex_identifier()) - } + Some('_') | Some('a'..='z') | Some('A'..='Z') => return Some(self.lex_identifier()), Some('#') => { self.lex_comment(); continue; diff --git a/rustfmt.toml b/rustfmt.toml index ae9df8459..32a9786fa 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -1 +1 @@ -version = "One" +edition = "2018"