diff options
| author | Young-Flash <dongyang@apache.org> | 2024-01-30 21:43:43 +0800 |
|---|---|---|
| committer | Young-Flash <dongyang@apache.org> | 2024-01-30 21:43:43 +0800 |
| commit | db9fd370ee2648c22a715d0558e496761a50c2c7 (patch) | |
| tree | 0cdce237c4a1138fbe4e57b50cfe2301ba939927 /docs/dev | |
| parent | 7219414e81810fd4d967136c4a0650523892c157 (diff) | |
minor: correct typos
Diffstat (limited to 'docs/dev')
| -rw-r--r-- | docs/dev/syntax.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/dev/syntax.md b/docs/dev/syntax.md index fd6f220f4fa..6c4daecc58f 100644 --- a/docs/dev/syntax.md +++ b/docs/dev/syntax.md @@ -128,7 +128,7 @@ Interior nodes are shared as well (for example in `(1 + 1) * (1 + 1)`). Note that, the result of the interning is an `Arc<Node>`. That is, it's not an index into interning table, so you don't have to have the table around to do anything with the tree. Each tree is fully self-contained (although different trees might share parts). -Currently, the interner is created per-file, but it will be easy to use a per-thread or per-some-contex one. +Currently, the interner is created per-file, but it will be easy to use a per-thread or per-some-context one. We use a `TextSize`, a newtyped `u32`, to store the length of the text. |
