about summary refs log tree commit diff
path: root/src/grammar
diff options
context:
space:
mode:
authorJoseph Crail <jbcrail@gmail.com>2015-02-04 23:00:02 -0500
committerJoseph Crail <jbcrail@gmail.com>2015-02-04 23:00:02 -0500
commitdc2e444e506c31e8f4a4331c7f6264ca6c107bb6 (patch)
treeeee7ee05c474531329e04db0cce74ae2d87422fd /src/grammar
parentba2f13ef0667ce90f55ab0f1506bf5ee7b852d96 (diff)
downloadrust-dc2e444e506c31e8f4a4331c7f6264ca6c107bb6.tar.gz
rust-dc2e444e506c31e8f4a4331c7f6264ca6c107bb6.zip
Fix for misspelled comments.
The spelling corrections were made in both documentation comments and
regular comments.
Diffstat (limited to 'src/grammar')
-rw-r--r--src/grammar/parser-lalr.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/grammar/parser-lalr.y b/src/grammar/parser-lalr.y
index 24185ed65d5..d3d3a2b997c 100644
--- a/src/grammar/parser-lalr.y
+++ b/src/grammar/parser-lalr.y
@@ -1195,7 +1195,7 @@ maybe_stmts
 //
 // There are also two other expr subtypes: first, nonparen_expr
 // disallows exprs surrounded by parens (including tuple expressions),
-// this is neccesary for BOX (place) expressions, so a parens expr
+// this is necessary for BOX (place) expressions, so a parens expr
 // following the BOX is always parsed as the place. There is also
 // expr_norange used in index_expr, which disallows '..' in
 // expressions as that has special meaning inside of brackets.