diff --git a/doc/sets_fragment.txt b/doc/sets_fragment.txt index 435807e1ab..5c341b7c82 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 f935e79354..cbfef183ec 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