summary refs log tree commit diff stats
path: root/doc/nimc.rst
diff options
context:
space:
mode:
authorSimon Krauter <trustablecode@gmail.com>2019-06-24 00:15:55 +0200
committerVarriount <Varriount@users.noreply.github.com>2019-06-23 15:15:55 -0700
commit800bc661b674c071e829b8a959c0966a38ae710e (patch)
treeffb5e5d660ab13e5fecb58456a5592490485a6e7 /doc/nimc.rst
parentbb9b60604be78e7e012c917704623777c75fae90 (diff)
downloadNim-800bc661b674c071e829b8a959c0966a38ae710e.tar.gz
Spelling fixes in nimc.rst (#11569)
Diffstat (limited to 'doc/nimc.rst')
-rw-r--r--doc/nimc.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/nimc.rst b/doc/nimc.rst
index c2801a3f4..e750a5b12 100644
--- a/doc/nimc.rst
+++ b/doc/nimc.rst
@@ -266,11 +266,11 @@ configuration file should contain something like::
 Cross compilation for Windows
 =============================
 
-To cross compile for Windows from Linux or OSX using the MinGW-w64 toolchain::
+To cross compile for Windows from Linux or macOS using the MinGW-w64 toolchain::
 
   nim c -d:mingw myproject.nim
 
-Use ``--cpu:i386`` or ``--cpu:amd64`` to switch the cpu arch.
+Use ``--cpu:i386`` or ``--cpu:amd64`` to switch the CPU architecture.
 
 The MinGW-w64 toolchain can be installed as follows::
 
@@ -443,7 +443,7 @@ Backend language options
 The typical compiler usage involves using the ``compile`` or ``c`` command to
 transform a ``.nim`` file into one or more ``.c`` files which are then
 compiled with the platform's C compiler into a static binary. However there
-are other commands to compile to C++, Objective-C or Javascript. More details
+are other commands to compile to C++, Objective-C or JavaScript. More details
 can be read in the `Nim Backend Integration document <backends.html>`_.