docs: tiny style improvements
This commit is contained in:
parent
a0980c88c9
commit
2616a86d4b
2 changed files with 3 additions and 2 deletions
|
|
@ -252,6 +252,7 @@ the imperative (command) form. That is, between:
|
||||||
proc hello*(): string =
|
proc hello*(): string =
|
||||||
## Return "hello"
|
## Return "hello"
|
||||||
result = "hello"
|
result = "hello"
|
||||||
|
|
||||||
or
|
or
|
||||||
|
|
||||||
.. code-block:: nim
|
.. code-block:: nim
|
||||||
|
|
|
||||||
|
|
@ -6504,7 +6504,7 @@ alignment requirement of the type are ignored.
|
||||||
|
|
||||||
type
|
type
|
||||||
sseType = object
|
sseType = object
|
||||||
sseData {.align(16).}: array[4,float32]
|
sseData {.align(16).}: array[4, float32]
|
||||||
|
|
||||||
# every object will be aligned to 128-byte boundary
|
# every object will be aligned to 128-byte boundary
|
||||||
Data = object
|
Data = object
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue