You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
9703: docs: Fix several typos and grammar mistakes r=matklad a=alexfertel
I took some time to clean up the dev docs a bit since I spent the whole week reading them. I am not a native speaker, so if you find something wrong please tell me and I'll fix it 😁
Co-authored-by: Alexander Gonzalez <alexfertel97@gmail.com>
Copy file name to clipboardExpand all lines: docs/dev/syntax.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ This guide describes the current state of syntax trees and parsing in rust-analy
6
6
7
7
## Source Code
8
8
9
-
The things described are implemented in two places
9
+
The things described are implemented in three places
10
10
11
11
*[rowan](https://github.com/rust-analyzer/rowan/tree/v0.9.0) -- a generic library for rowan syntax trees.
12
12
*[ra_syntax](https://github.com/rust-analyzer/rust-analyzer/tree/cf5bdf464cad7ceb9a67e07985a3f4d3799ec0b6/crates/ra_syntax) crate inside rust-analyzer which wraps `rowan` into rust-analyzer specific API.
@@ -15,9 +15,9 @@ The things described are implemented in two places
15
15
16
16
## Design Goals
17
17
18
-
* Syntax trees are lossless, or full fidelity. All comments and whitespace are preserved.
18
+
* Syntax trees are lossless, or full fidelity. All comments and whitespace get preserved.
19
19
* Syntax trees are semantic-less. They describe *strictly* the structure of a sequence of characters, they don't have hygiene, name resolution or type information attached.
20
-
* Syntax trees are simple value type. It is possible to create trees for a syntax without any external context.
20
+
* Syntax trees are simple value types. It is possible to create trees for a syntax without any external context.
21
21
* Syntax trees have intuitive traversal API (parent, children, siblings, etc).
22
22
* Parsing is lossless (even if the input is invalid, the tree produced by the parser represents it exactly).
23
23
* Parsing is resilient (even if the input is invalid, parser tries to see as much syntax tree fragments in the input as it can).
0 commit comments