summaryrefslogtreecommitdiff
path: root/src/syntax/ast.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-03-08 10:54:04 +0100
committerLaurenz <laurmaedje@gmail.com>2023-03-08 11:02:27 +0100
commite5eab73374880077971f3f22acbdd3d302877128 (patch)
tree07aa926b27032d6bcd82486d664dfd4161ccbd3e /src/syntax/ast.rs
parent1b2b53ecb91a9bd7fb3493e471ae03cd142a7c03 (diff)
Streamline field names
Diffstat (limited to 'src/syntax/ast.rs')
-rw-r--r--src/syntax/ast.rs4
1 files changed, 2 insertions, 2 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
}