But if you edit the file after parsing it, tree-sitter can generally update
the previous existing syntax tree to reflect your edit in less than a millisecond,
thanks to its incremental parsing system.
References
The Rust Reference — While Rust does
not have a specification, the reference tries to describe its working in detail.
It tends to be out of date.