From ca1f749c087bc19f6fbcebcd3ee34307959a95d5 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 26 Sep 2024 13:32:55 -0400 Subject: Spelling (#5020) Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- crates/typst-syntax/src/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/typst-syntax/src/parser.rs') diff --git a/crates/typst-syntax/src/parser.rs b/crates/typst-syntax/src/parser.rs index aa0431e9..20ff58f0 100644 --- a/crates/typst-syntax/src/parser.rs +++ b/crates/typst-syntax/src/parser.rs @@ -1789,7 +1789,7 @@ impl<'s> Parser<'s> { fn next_non_trivia(lexer: &mut Lexer<'s>) -> SyntaxKind { loop { let next = lexer.next(); - // Loop is terminatable, because SyntaxKind::End is not a trivia. + // Loop is terminable, because SyntaxKind::End is not a trivia. if !next.is_trivia() { break next; } -- cgit v1.2.3