summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorGrzegorz Adam Hankiewicz <gradha@imap.cc>2014-01-14 10:46:31 +0100
committerGrzegorz Adam Hankiewicz <gradha@imap.cc>2014-01-15 22:23:24 +0100
commit42f152569db36ea6894caf11189be8f6fd06a482 (patch)
treeb3ba9fc96de0c6f7514eb9a776124aff63c13fb2 /doc
parent2c2174f2d0415f975adb0e1679822afe394eee7d (diff)
downloadNim-42f152569db36ea6894caf11189be8f6fd06a482.tar.gz
References TRune, links unicode modules where mentioned.
Amends 0f3941b0013ea5d390586719f930fcf02b929f4d.
Diffstat (limited to 'doc')
-rw-r--r--doc/manual.txt11
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/manual.txt b/doc/manual.txt
index c8b1c079c..f6dd1f521 100644
--- a/doc/manual.txt
+++ b/doc/manual.txt
@@ -342,7 +342,9 @@ A character is not an Unicode character but a single byte. The reason for this
 is efficiency: for the overwhelming majority of use-cases, the resulting
 programs will still handle UTF-8 properly as UTF-8 was specially designed for
 this. Another reason is that Nimrod can thus support ``array[char, int]`` or
-``set[char]`` efficiently as many algorithms rely on this feature.
+``set[char]`` efficiently as many algorithms rely on this feature.  The `TRune`
+type is used for Unicode characters, it can represent any Unicode character.
+``TRune`` is declared in the `unicode module <unicode.html>`_.
 
 
 Numerical constants
@@ -773,7 +775,8 @@ designed for this.
 Another reason is that Nimrod can support ``array[char, int]`` or
 ``set[char]`` efficiently as many algorithms rely on this feature. The
 `TRune` type is used for Unicode characters, it can represent any Unicode
-character. ``TRune`` is declared in the ``unicode`` module.
+character. ``TRune`` is declared in the `unicode module <unicode.html>`_.
+
 
 
 
@@ -870,8 +873,8 @@ arrays, they can be used in case statements:
 Per convention, all strings are UTF-8 strings, but this is not enforced. For
 example, when reading strings from binary files, they are merely a sequence of
 bytes. The index operation ``s[i]`` means the i-th *char* of ``s``, not the
-i-th *unichar*. The iterator ``runes`` from the ``unicode``
-module can be used for iteration over all Unicode characters.
+i-th *unichar*. The iterator ``runes`` from the `unicode module
+<unicode.html>`_ can be used for iteration over all Unicode characters.
 
 
 CString type