From 9eb867dd15a98c5a81f8a133db4398a318eb4356 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Tue, 10 Dec 2019 15:10:22 -0800 Subject: [PATCH] Fix typo: `chracter` -> `character` (#561) --- src/lexer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lexer.rs b/src/lexer.rs index 582563d..a3e9020 100644 --- a/src/lexer.rs +++ b/src/lexer.rs @@ -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. fn advance(&mut self) -> CompilationResult<'src, ()> { match self.next {