aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-09-19 16:22:28 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-09-19 18:01:41 +0800
commit32965807a7f4914e184d7093048beb791cb32376 (patch)
tree7a7f55ffc5a78b92e1dc5584d6417f9bcdb9f56c /docs
parent1fc71bd75841850ee04d151e9bfbf938928b276a (diff)
downloaddexon-solidity-32965807a7f4914e184d7093048beb791cb32376.tar
dexon-solidity-32965807a7f4914e184d7093048beb791cb32376.tar.gz
dexon-solidity-32965807a7f4914e184d7093048beb791cb32376.tar.bz2
dexon-solidity-32965807a7f4914e184d7093048beb791cb32376.tar.lz
dexon-solidity-32965807a7f4914e184d7093048beb791cb32376.tar.xz
dexon-solidity-32965807a7f4914e184d7093048beb791cb32376.tar.zst
dexon-solidity-32965807a7f4914e184d7093048beb791cb32376.zip
Fix ABI spec regarding arrays.
Diffstat (limited to 'docs')
-rw-r--r--docs/abi-spec.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/abi-spec.rst b/docs/abi-spec.rst
index 97320c7f..b750deee 100644
--- a/docs/abi-spec.rst
+++ b/docs/abi-spec.rst
@@ -58,7 +58,7 @@ The following elementary types exist:
The following (fixed-size) array type exists:
-- ``<type>[M]``: a fixed-length array of the given fixed-length type.
+- ``<type>[M]``: a fixed-length array of ``M`` elements, ``M > 0``, of the given type.
The following non-fixed-size types exist:
@@ -66,7 +66,7 @@ The following non-fixed-size types exist:
- ``string``: dynamic sized unicode string assumed to be UTF-8 encoded.
-- ``<type>[]``: a variable-length array of the given fixed-length type.
+- ``<type>[]``: a variable-length array of elements of the given type.
Types can be combined to a tuple by enclosing a finite non-negative number
of them inside parentheses, separated by commas: