about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/docs/dev
diff options
context:
space:
mode:
authorLaurențiu Nicola <lnicola@dend.ro>2024-01-15 11:40:09 +0200
committerLaurențiu Nicola <lnicola@dend.ro>2024-01-15 11:40:09 +0200
commit32bd51eebff476c801b83cd698c87552b6bb340e (patch)
tree8c16f276290caac195e6681289aaa2d0412f347d /src/tools/rust-analyzer/docs/dev
parent73252d51d13c0e4f872c3c51defcf48174860ef6 (diff)
parent9d8889cdfcc3aa0302353fc988ed21ff9bc9925c (diff)
Merge commit '9d8889cdfcc3aa0302353fc988ed21ff9bc9925c' into sync-from-ra
Diffstat (limited to 'src/tools/rust-analyzer/docs/dev')
-rw-r--r--src/tools/rust-analyzer/docs/dev/syntax.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tools/rust-analyzer/docs/dev/syntax.md b/src/tools/rust-analyzer/docs/dev/syntax.md
index 97e376787c8..fd6f220f4fa 100644
--- a/src/tools/rust-analyzer/docs/dev/syntax.md
+++ b/src/tools/rust-analyzer/docs/dev/syntax.md
@@ -41,7 +41,6 @@ Syntax trees are a semi-transient data structure.
 In general, frontend does not keep syntax trees for all files in memory.
 Instead, it *lowers* syntax trees to more compact and rigid representation, which is not full-fidelity, but which can be mapped back to a syntax tree if so desired.
 
-
 ### GreenNode
 
 GreenNode is a purely-functional tree with arbitrary arity. Conceptually, it is equivalent to the following run of the mill struct:
@@ -500,7 +499,7 @@ Specifically, `TreeSink` constructs the tree in lockstep with draining the origi
 In the process, it records which tokens of the tree correspond to which tokens of the input, by using text ranges to identify syntax tokens.
 The end result is that parsing an expanded code yields a syntax tree and a mapping of text-ranges of the tree to original tokens.
 
-To deal with precedence in cases like `$expr * 1`, we use special invisible parenthesis, which are explicitly handled by the parser
+To deal with precedence in cases like `$expr * 1`, we use special invisible parenthesis, which are explicitly handled by the parser.
 
 ### Whitespace & Comments