This commit is contained in:
Folkert 2021-03-12 03:44:03 +01:00
parent f5f98b2400
commit fd5ab353db
5 changed files with 10 additions and 10 deletions

View file

@ -617,13 +617,13 @@ fn what_is_next<'a>(source_lines: &'a [&'a str], row: Row, col: Col) -> BadIdent
}
}
fn till_whitespace<I>(mut it: I) -> usize
fn till_whitespace<I>(it: I) -> usize
where
I: Iterator<Item = char>,
{
let mut chomped = 0;
while let Some(c) = it.next() {
for c in it {
if c.is_ascii_whitespace() || c == '#' {
break;
} else {