Doing this leads to worse performance.
This commit is contained in:
parent
4153a98973
commit
666965ef4f
1 changed files with 0 additions and 1 deletions
|
@ -441,7 +441,6 @@ impl<T: Iterator<Item = char>> Scanner<T> {
|
|||
self.mark.line += 1;
|
||||
self.mark.col = 0;
|
||||
} else {
|
||||
// TODO(ethiraric, 20/12/2023): change to `self.leading_whitespace &= is_blank(c)`?
|
||||
if self.leading_whitespace && !is_blank(c) {
|
||||
self.leading_whitespace = false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue