summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-02-05 21:13:18 +0100
committerAndreas Rumpf <rumpf_a@web.de>2018-02-05 21:13:18 +0100
commitfc52dd646385b5b1ca5dc7c451c124a863047b14 (patch)
tree6ca0311e8f43e9d8846d27e0fdd183f10146b2de
parent49ad131fe23a69bcbc3da68fba0b9c4a1df864b8 (diff)
downloadNim-fc52dd646385b5b1ca5dc7c451c124a863047b14.tar.gz
Tut 1: tiny improvements
-rw-r--r--doc/sets_fragment.txt2
-rw-r--r--doc/tut1.rst2
2 files changed, 3 insertions, 1 deletions
diff --git a/doc/sets_fragment.txt b/doc/sets_fragment.txt
index 435807e1a..5c341b7c8 100644
--- a/doc/sets_fragment.txt
+++ b/doc/sets_fragment.txt
@@ -1,9 +1,11 @@
 The set type models the mathematical notion of a set. The set's basetype can
 only be an ordinal type of a certain size, namely:
+
   * ``int8``-``int16``
   * ``uint8``/``byte``-``uint16``
   * ``char``
   * ``enum``
+
 or equivalent. The reason is that sets are implemented as high
 performance bit vectors. Attempting to declare a set with a larger type will
 result in an error:
diff --git a/doc/tut1.rst b/doc/tut1.rst
index f935e7935..cbfef183e 100644
--- a/doc/tut1.rst
+++ b/doc/tut1.rst
@@ -1032,7 +1032,7 @@ procs for these conversions.
 
 Type Conversion
 ---------------
-Conversion between basic types is performed by using the
+Conversion between numerical types is performed by using the
 type as a function:
 
 .. code-block:: nim
tion.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
when defined(js):
    import asyncjs
    export asyncjs
else:
    import asyncmacro, asyncfutures
    export asyncmacro, asyncfutures