mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-03 05:13:35 +00:00
minor: correct typos
This commit is contained in:
parent
7219414e81
commit
db9fd370ee
23 changed files with 40 additions and 40 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue