diff options
author | Elliot Waite <elliot@elliotwaite.com> | 2020-12-14 11:13:12 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-14 20:13:12 +0100 |
commit | f3d57761abc425f546985af407f178d71db20b78 (patch) | |
tree | 36925f3cf4bc1b94fa93c58c969f40be60d462fa /doc/tut1.rst | |
parent | e843492b1334ded1d8fcd0e0eb6dc94fcf970aba (diff) | |
download | Nim-f3d57761abc425f546985af407f178d71db20b78.tar.gz |
Fix broken links in docs (#16336)
* Fix broken links in docs * Fix rand HSlice links
Diffstat (limited to 'doc/tut1.rst')
-rw-r--r-- | doc/tut1.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/tut1.rst b/doc/tut1.rst index cb4dc1cc9..397782330 100644 --- a/doc/tut1.rst +++ b/doc/tut1.rst @@ -1315,11 +1315,11 @@ Sequence variables are initialized with ``@[]``. The ``for`` statement can be used with one or two variables when used with a sequence. When you use the one variable form, the variable will hold the value provided by the sequence. The ``for`` statement is looping over the results -from the `items() <system.html#items.i,seq[T]>`_ iterator from the `system +from the `items() <iterators.html#items.i,seq[T]>`_ iterator from the `system <system.html>`_ module. But if you use the two-variable form, the first variable will hold the index position and the second variable will hold the value. Here the ``for`` statement is looping over the results from the -`pairs() <system.html#pairs.i,seq[T]>`_ iterator from the `system +`pairs() <iterators.html#pairs.i,seq[T]>`_ iterator from the `system <system.html>`_ module. Examples: .. code-block:: nim |