diff options
-rw-r--r-- | docs/types.rst | 4 |
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. :: |