[backport] Fix spelling typos (#12755)
This commit is contained in:
parent
fd85a5ae05
commit
a7aeabb9d2
10 changed files with 18 additions and 18 deletions
|
|
@ -27,7 +27,7 @@ Package level objects
|
|||
Every Nim module resides in a (nimble) package. An object type can be attached
|
||||
to the package it resides in. If that is done, the type can be referenced from
|
||||
other modules as an `incomplete`:idx: object type. This feature allows to
|
||||
break up recursive type dependencies accross module boundaries. Incomplete
|
||||
break up recursive type dependencies across module boundaries. Incomplete
|
||||
object types are always passed ``byref`` and can only be used in pointer like
|
||||
contexts (``var/ref/ptr IncompleteObject``) in general since the compiler does
|
||||
not yet know the size of the object. To complete an incomplete object
|
||||
|
|
@ -267,7 +267,7 @@ calls can use the ``do`` keyword:
|
|||
``do`` is written after the parentheses enclosing the regular proc params.
|
||||
The proc expression represented by the do block is appended to them.
|
||||
In calls using the command syntax, the do block will bind to the immediately
|
||||
preceeding expression, transforming it in a call.
|
||||
preceding expression, transforming it in a call.
|
||||
|
||||
``do`` with parentheses is an anonymous ``proc``; however a ``do`` without
|
||||
parentheses is just a block of code. The ``do`` notation can be used to
|
||||
|
|
@ -1618,7 +1618,7 @@ Aliasing restrictions in parameter passing
|
|||
==========================================
|
||||
|
||||
**Note**: The aliasing restrictions are currently not enforced by the
|
||||
implementation and need to be fleshed out futher.
|
||||
implementation and need to be fleshed out further.
|
||||
|
||||
"Aliasing" here means that the underlying storage locations overlap in memory
|
||||
at runtime. An "output parameter" is a parameter of type ``var T``, an input
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue