diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-03-08 10:54:04 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-03-08 11:02:27 +0100 |
| commit | e5eab73374880077971f3f22acbdd3d302877128 (patch) | |
| tree | 07aa926b27032d6bcd82486d664dfd4161ccbd3e /src/syntax | |
| parent | 1b2b53ecb91a9bd7fb3493e471ae03cd142a7c03 (diff) | |
Streamline field names
Diffstat (limited to 'src/syntax')
| -rw-r--r-- | src/syntax/ast.rs | 4 | ||||
| -rw-r--r-- | src/syntax/kind.rs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/syntax/ast.rs b/src/syntax/ast.rs index 75931a8c..2fdedbcf 100644 --- a/src/syntax/ast.rs +++ b/src/syntax/ast.rs @@ -165,7 +165,7 @@ pub enum Expr { Let(LetBinding), /// A set rule: `set text(...)`. Set(SetRule), - /// A show rule: `show heading: it => [*{it.body}*]`. + /// A show rule: `show heading: it => emph(it.body)`. Show(ShowRule), /// An if-else conditional: `if x { y } else { z }`. Conditional(Conditional), @@ -1591,7 +1591,7 @@ impl SetRule { } node! { - /// A show rule: `show heading: it => [*{it.body}*]`. + /// A show rule: `show heading: it => emph(it.body)`. ShowRule } diff --git a/src/syntax/kind.rs b/src/syntax/kind.rs index cf973e6a..47b5da31 100644 --- a/src/syntax/kind.rs +++ b/src/syntax/kind.rs @@ -224,7 +224,7 @@ pub enum SyntaxKind { LetBinding, /// A set rule: `set text(...)`. SetRule, - /// A show rule: `show heading: it => [*{it.body}*]`. + /// A show rule: `show heading: it => emph(it.body)`. ShowRule, /// An if-else conditional: `if x { y } else { z }`. Conditional, |
