diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-03-09 17:56:56 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-09 16:56:56 +0000 |
| commit | a2d097686f01b2834f4a9b313bd9c1c692210479 (patch) | |
| tree | 727b2106239b21e398a1105b155b57da870a36b3 /crates/typst-syntax | |
| parent | 15ac6c316610b5931e81a4dad2c5fd172f4ed944 (diff) | |
Update changelog and roadmap (#3594)
Diffstat (limited to 'crates/typst-syntax')
| -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() |
