Shortened comment to pass lint.
This commit is contained in:
committed by
Jakob Stoklund Olesen
parent
a35d946bc4
commit
bf26fffc92
@@ -230,7 +230,7 @@ impl<'a> Lexer<'a> {
|
|||||||
self.next_ch();
|
self.next_ch();
|
||||||
|
|
||||||
if let Some(c) = self.lookahead {
|
if let Some(c) = self.lookahead {
|
||||||
// If the next character won't parse as a number, we conservatively return Token::Minus
|
// If the next character won't parse as a number, we return Token::Minus
|
||||||
if !c.is_alphanumeric() && c != '.' {
|
if !c.is_alphanumeric() && c != '.' {
|
||||||
return token(Token::Minus, loc);
|
return token(Token::Minus, loc);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user