Fix typo: chracter -> character (#561)

This commit is contained in:
Casey Rodarmor 2019-12-10 15:10:22 -08:00 committed by GitHub
parent b5dea44ee7
commit 9eb867dd15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,7 @@ impl<'src> Lexer<'src> {
} }
} }
/// Advance over the chracter in `self.next`, updating /// Advance over the character in `self.next`, updating
/// `self.token_end` accordingly. /// `self.token_end` accordingly.
fn advance(&mut self) -> CompilationResult<'src, ()> { fn advance(&mut self) -> CompilationResult<'src, ()> {
match self.next { match self.next {