docs/abi-spec.rst: There are 256 possible values for uint8 enums

This commit is contained in:
Kamil Śliwak 2020-10-28 11:14:42 +01:00
parent bc85439576
commit cfc878f8a5

View File

@ -111,7 +111,7 @@ them.
+-------------------------------+-----------------------------------------------------------------------------+
|:ref:`enum<enums>` |smallest ``uint`` type that is large enough to hold all values |
| | |
| |For example, an ``enum`` of 255 values or less is mapped to ``uint8`` and |
| |For example, an ``enum`` of 256 values or less is mapped to ``uint8`` and |
| |an ``enum`` of 256 values is mapped to ``uint16``. |
+-------------------------------+-----------------------------------------------------------------------------+
|:ref:`struct<structs>` |``tuple`` |