summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorChris de Graaf <chrisadegraaf@gmail.com>2018-07-18 02:17:34 -0500
committerAndreas Rumpf <rumpf_a@web.de>2018-07-18 09:17:34 +0200
commit6eedac3207cad9f7b4bfe8d631a9373a91b85846 (patch)
treef3179fd2c08945b0d4033620e9093a8172abe353 /doc
parent6512f8688ddf991ec16a2da2ec797a3530e3c73f (diff)
downloadNim-6eedac3207cad9f7b4bfe8d631a9373a91b85846.tar.gz
Fix link to first class iterator docs (#8356)
Diffstat (limited to 'doc')
-rw-r--r--doc/tut1.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tut1.rst b/doc/tut1.rst
index aa6114cf7..67ef43948 100644
--- a/doc/tut1.rst
+++ b/doc/tut1.rst
@@ -891,7 +891,7 @@ important differences:
   future version of the compiler.)
 
 However, you can also use a ``closure`` iterator to get a different set of
-restrictions. See `first class iterators <manual.html#first-class-iterators>`_
+restrictions. See `first class iterators <manual.html#iterators-and-the-for-statement-first-class-iterators>`_
 for details. Iterators can have the same name and parameters as a proc, since
 essentially they have their own namespaces. Therefore it is common practice to
 wrap iterators in procs of the same name which accumulate the result of the