diff options
| author | The Miri Conjob Bot <miri@cron.bot> | 2024-02-06 05:17:05 +0000 |
|---|---|---|
| committer | The Miri Conjob Bot <miri@cron.bot> | 2024-02-06 05:17:05 +0000 |
| commit | 08e774179e237ec9235760104eb01c3fa481b3fe (patch) | |
| tree | 78f8824f1d20458c113d6148421ee9b9e8482910 /src/tools/rust-analyzer/docs/dev/syntax.md | |
| parent | eaa2da5d921225266d714d8d28b87cc8d131bcae (diff) | |
| parent | f3b9d47a46c6d237665801155aa3e26c5f49958b (diff) | |
| download | rust-08e774179e237ec9235760104eb01c3fa481b3fe.tar.gz rust-08e774179e237ec9235760104eb01c3fa481b3fe.zip | |
Merge from rustc
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. |
