Scanner - Style clean-up
This commit is contained in:
parent
c5f099340b
commit
c1a61b992d
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ impl Scanner {
|
||||||
// Identifiers
|
// Identifiers
|
||||||
ch if ch.is_ascii_alphabetic() => self.identifier(),
|
ch if ch.is_ascii_alphabetic() => self.identifier(),
|
||||||
// Anything else is an error
|
// Anything else is an error
|
||||||
_ => return self.error("unexpected character".to_owned()),
|
_ => self.error("unexpected character".to_owned()),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue