diff options
author | Araq <rumpf_a@web.de> | 2011-09-24 19:18:08 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-09-24 19:18:08 +0200 |
commit | 485c371942cbbb1f9a10c64b6fcc699e59511460 (patch) | |
tree | 06afc132570838dd1b64c70b79d64f8fff3509b6 /doc/manual.txt | |
parent | 72ceda98cbbef896c31102a2c90d5f9fe1033d03 (diff) | |
download | Nim-485c371942cbbb1f9a10c64b6fcc699e59511460.tar.gz |
renamed optional to discardable
Diffstat (limited to 'doc/manual.txt')
-rwxr-xr-x | doc/manual.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/manual.txt b/doc/manual.txt index 55a008632..6b73c0960 100755 --- a/doc/manual.txt +++ b/doc/manual.txt @@ -1486,10 +1486,10 @@ Ignoring the return value of a procedure without using a discard statement is a static error. The return value can be ignored implicitely if the called proc/iterator has -been declared with the `optional`:idx: pragma: +been declared with the `discardable`:idx: pragma: .. code-block:: nimrod - proc p(x, y: int): int {.optional.} = + proc p(x, y: int): int {.discardable.} = return x + y p(3, 4) # now valid |