diff options
Diffstat (limited to 'doc/nims.rst')
-rw-r--r-- | doc/nims.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/nims.rst b/doc/nims.rst index 3f14f8f41..53199782c 100644 --- a/doc/nims.rst +++ b/doc/nims.rst @@ -44,7 +44,7 @@ NimScript is subject to some limitations caused by the implementation of the VM * ``var T`` function arguments rely on ``ptr`` operations internally and might also be problematic in some cases. -* More than one level of `ref` is generally not supported (for example, the type +* More than one level of `ref` is generally not supported (for example, the type `ref ref int`). * multimethods are not available. @@ -154,7 +154,7 @@ installation of Nimble could be accomplished with this simple script: mvFile "nimble" & $id & "/src/nimble".toExe, "bin/nimble".toExe -You can also use the shebang ``#!/usr/bin/env nim``, as long as your filename +On Unix, you can also use the shebang ``#!/usr/bin/env nim``, as long as your filename ends with ``.nims``: .. code-block:: nim |