diff options
author | Mice Pápai <knockoutMice@users.noreply.github.com> | 2017-05-10 14:04:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-10 14:04:38 +0200 |
commit | 2e7551f17eeff16715dd788e076d40fe3eb07879 (patch) | |
tree | 8e3ca80b2ae3ceff601086d7eb6f87941a317499 /doc | |
parent | 6e0e3b75cf419f9f2e61aeccaa59f91160e29628 (diff) | |
download | Nim-2e7551f17eeff16715dd788e076d40fe3eb07879.tar.gz |
Fix a typo in the Result variable block
Diffstat (limited to 'doc')
-rw-r--r-- | doc/tut1.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tut1.rst b/doc/tut1.rst index 06ee84c0d..de89a0b2d 100644 --- a/doc/tut1.rst +++ b/doc/tut1.rst @@ -599,7 +599,7 @@ Result variable A procedure that returns a value has an implicit ``result`` variable declared that represents the return value. A ``return`` statement with no expression is a shorthand for ``return result``. The ``result`` value is always returned -automatically at the end a procedure if there is no ``return`` statement at +automatically at the end of a procedure if there is no ``return`` statement at the exit. .. code-block:: nim |