diff options
| author | bors <bors@rust-lang.org> | 2024-02-06 05:27:55 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-02-06 05:27:55 +0000 |
| commit | 35551d059c17ed89aefdd0d3b4194f61fa5e312f (patch) | |
| tree | 78f8824f1d20458c113d6148421ee9b9e8482910 /src/tools/rust-analyzer/docs/dev/syntax.md | |
| parent | f45a5b10a071f9f5b259a6502ed9b39243d1d7b5 (diff) | |
| parent | 08e774179e237ec9235760104eb01c3fa481b3fe (diff) | |
| download | rust-35551d059c17ed89aefdd0d3b4194f61fa5e312f.tar.gz rust-35551d059c17ed89aefdd0d3b4194f61fa5e312f.zip | |
Auto merge of #3291 - rust-lang:rustup-2024-02-06, r=saethlin
Automatic Rustup
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. |
