summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorsmt <smt923@users.noreply.github.com>2018-01-12 13:57:58 +0000
committerGitHub <noreply@github.com>2018-01-12 13:57:58 +0000
commite7e0648829199531c9665f5168f5eec98c646854 (patch)
treee5220fc999b2e1378756562347eb48c53692136b /doc
parent471ae7e081425a77921bb6dc8b1da27ac8fd7e63 (diff)
downloadNim-e7e0648829199531c9665f5168f5eec98c646854.tar.gz
Update two links in tutorial to compiler usage docs with updated page anchors
Seems like these class ids on the page were renamed to reflect their hierarchy but the tutorial links weren't pointing to them, this should fix that
Diffstat (limited to 'doc')
-rw-r--r--doc/tut1.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/tut1.rst b/doc/tut1.rst
index 9e6f1ab3c..f935e7935 100644
--- a/doc/tut1.rst
+++ b/doc/tut1.rst
@@ -41,7 +41,7 @@ Save this code to the file "greetings.nim". Now compile and run it::
 
   nim compile --run greetings.nim
 
-With the ``--run`` `switch <nimc.html#command-line-switches>`_ Nim
+With the ``--run`` `switch <nimc.html#compiler-usage-command-line-switches>`_ Nim
 executes the file automatically after compilation. You can give your program
 command line arguments by appending them after the filename::
 
@@ -58,7 +58,7 @@ To compile a release version use::
 By default the Nim compiler generates a large amount of runtime checks
 aiming for your debugging pleasure. With ``-d:release`` these checks are
 `turned off and optimizations are turned on
-<nimc.html#compile-time-symbols>`_.
+<nimc.html#compiler-usage-compile-time-symbols>`_.
 
 Though it should be pretty obvious what the program does, I will explain the
 syntax: statements which are not indented are executed when the program