diff options
author | Iakiv Kramarenko <yashaka@gmail.com> | 2015-11-02 18:50:10 +0200 |
---|---|---|
committer | Iakiv Kramarenko <yashaka@gmail.com> | 2015-11-02 18:50:10 +0200 |
commit | 3a5a7a4edf38b4088c22b340928cc9347008197a (patch) | |
tree | b5c668e8105df89050211c3da6a8c66c763b2f81 /doc/manual | |
parent | a64d7be3a9fc7c4a37479f96842f569ba1fe6870 (diff) | |
download | Nim-3a5a7a4edf38b4088c22b340928cc9347008197a.tar.gz |
updated 'Void context' section specifying more precisely that assignment to result triggers MANDATORY void context FOR THE SUBSEQUENT EXPRESSIONS
Diffstat (limited to 'doc/manual')
-rw-r--r-- | doc/manual/stmts.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/manual/stmts.txt b/doc/manual/stmts.txt index a833d7b7d..59f7eef55 100644 --- a/doc/manual/stmts.txt +++ b/doc/manual/stmts.txt @@ -65,7 +65,7 @@ Void context In a list of statements every expression except the last one needs to have the type ``void``. In addition to this rule an assignment to the builtin ``result`` -symbol also triggers a ``void`` context: +symbol also triggers a mandatory ``void`` context for the subsequent expressions: .. code-block:: nim proc invalid*(): string = |