summary refs log tree commit diff stats
path: root/doc/manual.txt
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-07-06 22:56:34 +0200
committerAraq <rumpf_a@web.de>2014-07-06 22:56:34 +0200
commitf9d7e8db2a8b89575df51768ce9e5aa66c47cc9f (patch)
treeb8b5d57d92e753caa25669e3cf8843e89f5d1ebe /doc/manual.txt
parent21be7bf85a4d8cdff1acfcc5c8b9bf9c0727b290 (diff)
downloadNim-f9d7e8db2a8b89575df51768ce9e5aa66c47cc9f.tar.gz
implements #1332
Diffstat (limited to 'doc/manual.txt')
-rw-r--r--doc/manual.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/manual.txt b/doc/manual.txt
index e34e1b164..cb1bb83aa 100644
--- a/doc/manual.txt
+++ b/doc/manual.txt
@@ -2228,12 +2228,12 @@ type.
 If the expression is not of an ordinal type, and no ``else`` part is
 given, control passes after the ``case`` statement.
 
-To suppress the static error in the ordinal case an ``else`` part with a ``nil``
-statement can be used.
+To suppress the static error in the ordinal case an ``else`` part with an
+empty ``discard`` statement can be used.
 
 As a special semantic extension, an expression in an ``of`` branch of a case
-statement may evaluate to a set constructor; the set is then expanded into 
-a list of its elements:
+statement may evaluate to a set or array constructor; the set or array is then
+expanded into a list of its elements:
 
 .. code-block:: nimrod
   const