removed explicit return in the documentation

This commit is contained in:
Simon Hafner
2014-02-03 12:40:51 -06:00
parent 96e616198d
commit a90f0f50cf
2 changed files with 2 additions and 2 deletions

View File

@@ -2498,7 +2498,7 @@ different; for this a special setter syntax is needed:
proc host*(s: TSocket): int {.inline.} =
## getter of hostAddr
return s.FHost
s.FHost
var
s: TSocket

View File

@@ -126,7 +126,7 @@ The syntax for type conversions is ``destination_type(expression_to_convert)``
.. code-block:: nimrod
proc getID(x: TPerson): int =
return TStudent(x).id
TStudent(x).id
The ``EInvalidObjectConversion`` exception is raised if ``x`` is not a
``TStudent``.