aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-05-19 10:39:59 -0400
committerAndrew Kelley <superjoe30@gmail.com>2017-05-19 10:39:59 -0400
commit051ee8e626111445c27d6c868cb0cdec6df7409e (patch)
treed144242d665fb7eff76dc3e561989146c84690a1 /doc
parentb483db486842c6d7d348b28ca09e56673e1bd800 (diff)
downloadzig-051ee8e626111445c27d6c868cb0cdec6df7409e.tar.gz
zig-051ee8e626111445c27d6c868cb0cdec6df7409e.zip
change slicing syntax from ... to ..
See #359
Diffstat (limited to 'doc')
-rw-r--r--doc/langref.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/langref.md b/doc/langref.md
index 9f814c270c..18793a915a 100644
--- a/doc/langref.md
+++ b/doc/langref.md
@@ -133,7 +133,7 @@ FnCallExpression = "(" list(Expression, ",") ")"
ArrayAccessExpression = "[" Expression "]"
-SliceExpression = "[" Expression "..." option(Expression) "]"
+SliceExpression = "[" Expression ".." option(Expression) "]"
ContainerInitExpression = "{" ContainerInitBody "}"