summaryrefslogtreecommitdiff
path: root/crates/typst-syntax/src/parser.rs
diff options
context:
space:
mode:
authorJosh Soref <2119212+jsoref@users.noreply.github.com>2024-09-26 13:32:55 -0400
committerGitHub <noreply@github.com>2024-09-26 17:32:55 +0000
commitca1f749c087bc19f6fbcebcd3ee34307959a95d5 (patch)
treeafa4bc0fca4b27d15b99df6da625090b0ef864f2 /crates/typst-syntax/src/parser.rs
parent3c90878460cecaaa7ac879ba0973f94705b7c062 (diff)
Spelling (#5020)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Diffstat (limited to 'crates/typst-syntax/src/parser.rs')
-rw-r--r--crates/typst-syntax/src/parser.rs2
1 files changed, 1 insertions, 1 deletions
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;
}