summaryrefslogtreecommitdiff
path: root/crates/typst-syntax/src/kind.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/typst-syntax/src/kind.rs')
-rw-r--r--crates/typst-syntax/src/kind.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/typst-syntax/src/kind.rs b/crates/typst-syntax/src/kind.rs
index 40a2855d..a772175e 100644
--- a/crates/typst-syntax/src/kind.rs
+++ b/crates/typst-syntax/src/kind.rs
@@ -4,7 +4,7 @@
#[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
#[repr(u8)]
pub enum SyntaxKind {
- /// Markup.
+ /// The contents of a file or content block.
Markup,
/// Plain text without markup.
Text,
@@ -182,7 +182,7 @@ pub enum SyntaxKind {
/// The `as` keyword.
As,
- /// Code.
+ /// The contents of a code block.
Code,
/// An identifier: `it`.
Ident,