From 32965807a7f4914e184d7093048beb791cb32376 Mon Sep 17 00:00:00 2001 From: chriseth Date: Tue, 19 Sep 2017 10:22:28 +0200 Subject: [PATCH] Fix ABI spec regarding arrays. --- docs/abi-spec.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/abi-spec.rst b/docs/abi-spec.rst index 97320c7f5..b750deeec 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: -- ``[M]``: a fixed-length array of the given fixed-length 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. -- ``[]``: a variable-length array of the given fixed-length 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: