summaryrefslogtreecommitdiff
path: root/src/syntax
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax')
-rw-r--r--src/syntax/ast.rs4
-rw-r--r--src/syntax/kind.rs2
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,