rustfmt
This commit is contained in:
parent
78d7d5ce36
commit
1127897bd8
@ -62,7 +62,7 @@ pub enum Symbol {
|
|||||||
/// \
|
/// \
|
||||||
BackSlash,
|
BackSlash,
|
||||||
/// `
|
/// `
|
||||||
BackTick
|
BackTick,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Display for Symbol {
|
impl Display for Symbol {
|
||||||
|
@ -141,7 +141,7 @@ impl<'a> Iterator for Lexer<'a> {
|
|||||||
c if c.is_control() => {
|
c if c.is_control() => {
|
||||||
self.buf.next();
|
self.buf.next();
|
||||||
TokenKind::Error("Expected expression.".into())
|
TokenKind::Error("Expected expression.".into())
|
||||||
},
|
}
|
||||||
_ => self.lex_ident(),
|
_ => self.lex_ident(),
|
||||||
};
|
};
|
||||||
self.pos.next_char();
|
self.pos.next_char();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user