diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-09-20 19:42:21 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-09-20 19:42:21 +0100 |
commit | 59f9fc4cd10b22b887ae42f12cc886793f0b061b (patch) | |
tree | 01a6fa15398bd821faabb4bb8eaf94e65cbfd836 /docs | |
parent | fb1b0a4bff2ae1bc78ea10120a5a0de7039c63d2 (diff) | |
parent | 4530b717cb47036b57bcb0d8f10833e424abee93 (diff) |
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]>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/dev/syntax.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/dev/syntax.md b/docs/dev/syntax.md index c08062ef4..2eb08b7ca 100644 --- a/docs/dev/syntax.md +++ b/docs/dev/syntax.md | |||
@@ -72,7 +72,7 @@ Points of note: | |||
72 | * Trivia and non-trivia tokens are not distinguished on the type level. | 72 | * Trivia and non-trivia tokens are not distinguished on the type level. |
73 | * Each token carries its full text. | 73 | * Each token carries its full text. |
74 | * The original text can be recovered by concatenating the texts of all tokens in order. | 74 | * 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`. |
76 | * Modifying the tree is roughly `O(depth)`. | 76 | * Modifying the tree is roughly `O(depth)`. |
77 | We don't make special efforts to guarantee that the depth is not linear, but, in practice, syntax trees are branchy and shallow. | 77 | We don't make special efforts to guarantee that the depth is not linear, but, in practice, syntax trees are branchy and shallow. |
78 | * If mandatory (grammar wise) node is missing from the input, it's just missing from the tree. | 78 | * If mandatory (grammar wise) node is missing from the input, it's just missing from the tree. |