Skip to content

Commit d5f0e25

Browse files
committed
add rustfmt.toml
1 parent 0722487 commit d5f0e25

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

parser/src/lexer.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,9 @@ where
687687

688688
match self.chr0 {
689689
Some('0'..='9') => return Some(self.lex_number()),
690-
Some('_') | Some('a'..='z') | Some('A'..='Z') => return Some(self.lex_identifier()),
690+
Some('_') | Some('a'..='z') | Some('A'..='Z') => {
691+
return Some(self.lex_identifier())
692+
}
691693
Some('#') => {
692694
self.lex_comment();
693695
continue;

rustfmt.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
version = "One"

0 commit comments

Comments
 (0)