summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2018-07-28 18:13:37 +0200
committerVarriount <Varriount@users.noreply.github.com>2018-07-28 12:13:37 -0400
commit3838e2a8d7dc4a0167d50231016177b4b9501fff (patch)
tree4f5b0721d9dfceeb0a80598a8c67edfddc18d60a
parent8b638ae59991009d6b0b08af2bcf48c11a04eaa2 (diff)
downloadNim-3838e2a8d7dc4a0167d50231016177b4b9501fff.tar.gz
Fix links to manual.html in the system module documentation (#8467)
The HTML anchor IDs were changed, which made those links not link
to the appropriate section anymore.
-rw-r--r--lib/system.nim6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/system.nim b/lib/system.nim
index f96f97dd6..dae760ef8 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -1465,8 +1465,8 @@ when defined(nimdoc):
     ##
     ## Note that this is a *runtime* call and using ``quit`` inside a macro won't
     ## have any compile time effect. If you need to stop the compiler inside a
-    ## macro, use the `error <manual.html#error-pragma>`_ or `fatal
-    ## <manual.html#fatal-pragma>`_ pragmas.
+    ## macro, use the `error <manual.html#pragmas-error-pragma>`_ or `fatal
+    ## <manual.html#pragmas-fatal-pragma>`_ pragmas.
 
 elif defined(genode):
   include genode/env
@@ -2429,7 +2429,7 @@ iterator fieldPairs*[T: tuple|object](x: T): RootObj {.
   ## When you iterate over objects with different field types you have to use
   ## the compile time ``when`` instead of a runtime ``if`` to select the code
   ## you want to run for each type. To perform the comparison use the `is
-  ## operator <manual.html#is-operator>`_. Example:
+  ## operator <manual.html#generics-is-operator>`_. Example:
   ##
   ## .. code-block:: Nim
   ##