Skip to content

Commit 59f9fc4

Browse files
Merge #6041
6041: Fix typo in syntax.md r=kjeremy a=magurotuna This might be a typo, so I fixed it. Co-authored-by: Yusuke Tanaka <[email protected]>
2 parents fb1b0a4 + 4530b71 commit 59f9fc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/dev/syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Points of note:
7272
* Trivia and non-trivia tokens are not distinguished on the type level.
7373
* Each token carries its full text.
7474
* The original text can be recovered by concatenating the texts of all tokens in order.
75-
* Accessing a child of particular type (for example, parameter list of a function) generally involves linerary traversing the children, looking for a specific `kind`.
75+
* Accessing a child of particular type (for example, parameter list of a function) generally involves linearly traversing the children, looking for a specific `kind`.
7676
* Modifying the tree is roughly `O(depth)`.
7777
We don't make special efforts to guarantee that the depth is not linear, but, in practice, syntax trees are branchy and shallow.
7878
* If mandatory (grammar wise) node is missing from the input, it's just missing from the tree.

0 commit comments

Comments
 (0)