tweaked for clarity after editing to fix a typo (#12473)

This commit is contained in:
Andy Davidoff 2019-10-22 07:54:48 -04:00 • committed by Andreas Rumpf
commit 2ccd1c3428

View file

@ -162,8 +162,8 @@ you can pass ``--gc:`` on the compile command with the choosed garbage collector
- ``--gc:regions`` `Stack <https://en.wikipedia.org/wiki/Memory_management#Stack_allocation>`_ based garbage collector. - ``--gc:regions`` `Stack <https://en.wikipedia.org/wiki/Memory_management#Stack_allocation>`_ based garbage collector.
- ``--gc:none`` No garbage collector. - ``--gc:none`` No garbage collector.
The same Nim code can compile to use any of the garbage collectors, The same Nim code can be compiled to use any of the garbage collectors;
the Nim syntax mostly wont change from one garbage collector to another. the Nim syntax generally will not change from one garbage collector to another.
No garbage collector is used for `JavaScript and NodeJS <https://nim-lang.github.io/Nim/backends.html#backends-the-javascript-target>`_ compilation targets. No garbage collector is used for `JavaScript and NodeJS <https://nim-lang.github.io/Nim/backends.html#backends-the-javascript-target>`_ compilation targets.
`NimScript <https://nim-lang.github.io/Nim/nims.html>`_ target uses Nim VM garbage collector. `NimScript <https://nim-lang.github.io/Nim/nims.html>`_ target uses Nim VM garbage collector.