aboutsummaryrefslogtreecommitdiffstats
path: root/docs/types.rst
diff options
context:
space:
mode:
authorJames Ray <james.ray0001@gmail.com>2017-07-01 11:31:31 +0800
committerGitHub <noreply@github.com>2017-07-01 11:31:31 +0800
commit3594f973dffc8216e7ba9687d74a65102b112bd4 (patch)
tree744d5ce5e1708f451e09cfa6f7bac63a014ed5ae /docs/types.rst
parent77e4f9c8fc5bb9e9adfde4ed1f59292852eb2ced (diff)
downloaddexon-solidity-3594f973dffc8216e7ba9687d74a65102b112bd4.tar.gz
dexon-solidity-3594f973dffc8216e7ba9687d74a65102b112bd4.tar.zst
dexon-solidity-3594f973dffc8216e7ba9687d74a65102b112bd4.zip
Update types.rst
Diffstat (limited to 'docs/types.rst')
-rw-r--r--docs/types.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/types.rst b/docs/types.rst
index 7fcec508..ddf96c36 100644
--- a/docs/types.rst
+++ b/docs/types.rst
@@ -557,7 +557,7 @@ So ``bytes`` should always be preferred over ``byte[]`` because it is cheaper.
that you are accessing the low-level bytes of the UTF-8 representation,
and not the individual characters!
-It is possible to mark arrays ``public`` and have Solidity create a :ref:`getters <visibility-and-getters>`.
+It is possible to mark arrays ``public`` and have Solidity create a :ref:`getter <visibility-and-getters>`.
The numeric index will become a required parameter for the getter.
.. index:: ! array;allocating, new
@@ -806,7 +806,7 @@ Because of this, mappings do not have a length or a concept of a key or value be
Mappings are only allowed for state variables (or as storage reference types
in internal functions).
-It is possible to mark mappings ``public`` and have Solidity create a :ref:`getters <visibility-and-getters>`.
+It is possible to mark mappings ``public`` and have Solidity create a :ref:`getter <visibility-and-getters>`.
The ``_KeyType`` will become a required parameter for the getter and it will
return ``_ValueType``.