diff options
Diffstat (limited to 'crates/typst-syntax/src/ast.rs')
| -rw-r--r-- | crates/typst-syntax/src/ast.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/typst-syntax/src/ast.rs b/crates/typst-syntax/src/ast.rs index 840024f7..a434e39a 100644 --- a/crates/typst-syntax/src/ast.rs +++ b/crates/typst-syntax/src/ast.rs @@ -179,7 +179,7 @@ pub enum Expr<'a> { Closure(Closure<'a>), /// A let binding: `let x = 1`. Let(LetBinding<'a>), - //// A destructuring assignment: `(x, y) = (1, 2)`. + /// A destructuring assignment: `(x, y) = (1, 2)`. DestructAssign(DestructAssignment<'a>), /// A set rule: `set text(...)`. Set(SetRule<'a>), @@ -844,6 +844,7 @@ node! { } impl MathPrimes<'_> { + /// The number of grouped primes. pub fn count(self) -> usize { self.0 .children() |
