summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--doc/tut2.rst2
-rw-r--r--lib/system.nim2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/tut2.rst b/doc/tut2.rst
index 44b76f5ac..d9a37f7ec 100644
--- a/doc/tut2.rst
+++ b/doc/tut2.rst
@@ -605,7 +605,7 @@ performed before the expression is passed to the template.
 If the template has no explicit return type,
 ``void`` is used for consistency with procs and methods.
 
-To pass a block of statements to a template, use 'untyped' for the last parameter:
+To pass a block of statements to a template, use ``untyped`` for the last parameter:
 
 .. code-block:: nim
     :test: "nim c $1"
diff --git a/lib/system.nim b/lib/system.nim
index bebc9e336..631124a0f 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -4427,7 +4427,7 @@ when not defined(js):
 type
   ForLoopStmt* {.compilerProc.} = object ## \
     ## A special type that marks a macro as a `for-loop macro`:idx:.
-    ## See `"For loop macros" <manual.html#macros-for-loop-macros>`_.
+    ## See `"For Loop Macro" <manual.html#macros-for-loop-macro>`_.
 
 when defined(genode):
   var componentConstructHook*: proc (env: GenodeEnv) {.nimcall.}