diff options
author | Tristano Ajmone <tajmone@gmail.com> | 2019-01-06 10:45:24 +0100 |
---|---|---|
committer | Miran <narimiran@disroot.org> | 2019-01-06 10:45:24 +0100 |
commit | f3bd3691e796f4be5d522b4d0d1c64e30f985e68 (patch) | |
tree | 1c757a13e117e9ae03896a72f5dfc217225144b6 /doc/manual.rst | |
parent | 4a720394bba39ce1e67d518b909cbb1c25f63d09 (diff) | |
download | Nim-f3bd3691e796f4be5d522b4d0d1c64e30f985e68.tar.gz |
Minor Fixes to Manual Wording (#10214)
Diffstat (limited to 'doc/manual.rst')
-rw-r--r-- | doc/manual.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/manual.rst b/doc/manual.rst index 4a1ad9d5e..f79811002 100644 --- a/doc/manual.rst +++ b/doc/manual.rst @@ -1587,7 +1587,7 @@ details like this when mixing garbage collected data with unmanaged memory. Not nil annotation ------------------ -All types for that ``nil`` is a valid value can be annotated to +All types for which ``nil`` is a valid value can be annotated to exclude ``nil`` as a valid value with the ``not nil`` annotation: .. code-block:: nim @@ -1664,12 +1664,12 @@ Nim supports these `calling conventions`:idx:\: and another one for the pointer to implicitly passed environment. `stdcall`:idx: - This the stdcall convention as specified by Microsoft. The generated C + This is the stdcall convention as specified by Microsoft. The generated C procedure is declared with the ``__stdcall`` keyword. `cdecl`:idx: The cdecl convention means that a procedure shall use the same convention - as the C compiler. Under windows the generated C procedure is declared with + as the C compiler. Under Windows the generated C procedure is declared with the ``__cdecl`` keyword. `safecall`:idx: |