remove redundant test: '\n' is a layout char.
This commit is contained in:
@@ -791,7 +791,7 @@ impl<'a, R: Read> Lexer<'a, R> {
|
|||||||
let cr = self.lookahead_char();
|
let cr = self.lookahead_char();
|
||||||
|
|
||||||
match cr {
|
match cr {
|
||||||
Ok(c) if layout_char!(c) || new_line_char!(c) => {
|
Ok(c) if layout_char!(c) => {
|
||||||
self.skip_char()?;
|
self.skip_char()?;
|
||||||
layout_inserted = true;
|
layout_inserted = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user