about summary refs log tree commit diff
path: root/docs/dev
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-08-10 19:38:19 +0000
committerGitHub <noreply@github.com>2020-08-10 19:38:19 +0000
commitb050937c1071e68a4ade69375f1f17b703cafb02 (patch)
tree64a2478b161bdeb32ea73876acf3afcbc9dcb84b /docs/dev
parent1e310575e3df3104641044e0285def65edc3f819 (diff)
parentff60fdc315e324843589554f45e2e3c8f7cd1bf4 (diff)
downloadrust-b050937c1071e68a4ade69375f1f17b703cafb02.tar.gz
rust-b050937c1071e68a4ade69375f1f17b703cafb02.zip
Merge #5703
5703: Fix typos in syntax.md r=kjeremy a=lnicola

Closes #5700

Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
Diffstat (limited to 'docs/dev')
-rw-r--r--docs/dev/syntax.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/dev/syntax.md b/docs/dev/syntax.md
index d4bc4b07c4e..f1bcdc4aff8 100644
--- a/docs/dev/syntax.md
+++ b/docs/dev/syntax.md
@@ -74,7 +74,7 @@ Points of note:
 * The original text can be recovered by concatenating the texts of all tokens in order.
 * Accessing a child of particular type (for example, parameter list of a function) generally involves linerary traversing the children, looking for a specific `kind`.
 * Modifying the tree is roughly `O(depth)`.
-  We don't make special efforts to guarantree that the depth is not liner, but, in practice, syntax trees are branchy and shallow.
+  We don't make special efforts to guarantee that the depth is not linear, but, in practice, syntax trees are branchy and shallow.
 * If mandatory (grammar wise) node is missing from the input, it's just missing from the tree.
 * If an extra erroneous input is present, it is wrapped into a node with `ERROR` kind, and treated just like any other node.
 * Parser errors are not a part of syntax tree.