diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-02-05 06:37:17 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-05 06:37:17 +0100 |
| commit | bc98f5795b0c78f1e2f4b9a4497b962fb29ad836 (patch) | |
| tree | 77a041301e5c6bf75c4d8aa89a5ec0005e5e23eb /src/tools/rust-analyzer/docs/dev/syntax.md | |
| parent | d8e9ddc843e4da26815492bb0b3a6ca3a4713ed2 (diff) | |
| parent | 98ad126214821e64611e1b1e4ea9ee7b39578370 (diff) | |
| download | rust-bc98f5795b0c78f1e2f4b9a4497b962fb29ad836.tar.gz rust-bc98f5795b0c78f1e2f4b9a4497b962fb29ad836.zip | |
Rollup merge of #120636 - lnicola:sync-from-ra, r=lnicola
Subtree update of `rust-analyzer` r? ghost
Diffstat (limited to 'src/tools/rust-analyzer/docs/dev/syntax.md')
| -rw-r--r-- | src/tools/rust-analyzer/docs/dev/syntax.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rust-analyzer/docs/dev/syntax.md b/src/tools/rust-analyzer/docs/dev/syntax.md index fd6f220f4fa..6c4daecc58f 100644 --- a/src/tools/rust-analyzer/docs/dev/syntax.md +++ b/src/tools/rust-analyzer/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. |
