From 9289d9334bbea9bb401b3b7ec1383be5dde02e82 Mon Sep 17 00:00:00 2001 From: Leedehai <18319900+Leedehai@users.noreply.github.com> Date: Mon, 8 Apr 2024 06:21:06 -0400 Subject: SyntaxKind::Eof => SyntaxKind::End to better express its usage (#3872) --- crates/typst-syntax/src/node.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/typst-syntax/src/node.rs') diff --git a/crates/typst-syntax/src/node.rs b/crates/typst-syntax/src/node.rs index d047e751..b9efde6e 100644 --- a/crates/typst-syntax/src/node.rs +++ b/crates/typst-syntax/src/node.rs @@ -303,7 +303,7 @@ impl SyntaxNode { /// In contrast to `default()`, this is a const fn. pub(super) const fn arbitrary() -> Self { Self(Repr::Leaf(LeafNode { - kind: SyntaxKind::Eof, + kind: SyntaxKind::End, text: EcoString::new(), span: Span::detached(), })) -- cgit v1.2.3