aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/types.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/types.rst b/docs/types.rst
index 959d4de3..e042a98c 100644
--- a/docs/types.rst
+++ b/docs/types.rst
@@ -371,6 +371,9 @@ 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 an accessor.
+The numeric index will become a required parameter for the accessor.
+
.. index:: ! array;allocating, new
Allocating Memory Arrays