aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-03-14 22:46:55 +0800
committerchriseth <c@ethdev.com>2016-03-14 22:46:55 +0800
commitd34b59453a26c939cb231824ec941e009f3d5f89 (patch)
treeaa1e872d2410db3819ac2399763cdea440fea0df /docs
parentc38797fbff29d0e882c8bc04de1f5200ca6922c5 (diff)
downloaddexon-solidity-d34b59453a26c939cb231824ec941e009f3d5f89.tar.gz
dexon-solidity-d34b59453a26c939cb231824ec941e009f3d5f89.tar.zst
dexon-solidity-d34b59453a26c939cb231824ec941e009f3d5f89.zip
Clarification
Diffstat (limited to 'docs')
-rw-r--r--docs/types.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/types.rst b/docs/types.rst
index 04101c10..6702ce08 100644
--- a/docs/types.rst
+++ b/docs/types.rst
@@ -296,7 +296,9 @@ So `bytes` should always be preferred over `byte[]` because it is cheaper.
Allocating Memory Arrays
^^^^^^^^^^^^^^^^^^^^^^^^
-Creating arrays with variable length in memory can be done using the `new` keyword:
+Creating arrays with variable length in memory can be done using the `new` keyword.
+As opposed to storage arrays, it is **not** possible to resize memory arrays by assigning to
+the `.length` member.
::