From 3a5a7a4edf38b4088c22b340928cc9347008197a Mon Sep 17 00:00:00 2001 From: Iakiv Kramarenko Date: Mon, 2 Nov 2015 18:50:10 +0200 Subject: updated 'Void context' section specifying more precisely that assignment to result triggers MANDATORY void context FOR THE SUBSEQUENT EXPRESSIONS --- doc/manual/stmts.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/manual/stmts.txt') 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 = -- cgit 1.4.1-2-gfad0