Minor Fixes to Manual Wording (#10214)

This commit is contained in:
Tristano Ajmone
2019-01-06 10:45:24 +01:00
committed by Miran
parent 4a720394bb
commit f3bd3691e7

View File

@@ -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: