diff options
author | chriseth <c@ethdev.com> | 2016-03-14 22:45:38 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2016-03-14 22:45:38 +0800 |
commit | c38797fbff29d0e882c8bc04de1f5200ca6922c5 (patch) | |
tree | 6640242ca9fbdab703b3895f814a48134becaf4d /docs/types.rst | |
parent | a762694f1d96e1f39e8c8a0e523101bfa46e8355 (diff) | |
download | dexon-solidity-c38797fbff29d0e882c8bc04de1f5200ca6922c5.tar.gz dexon-solidity-c38797fbff29d0e882c8bc04de1f5200ca6922c5.tar.zst dexon-solidity-c38797fbff29d0e882c8bc04de1f5200ca6922c5.zip |
Fix examples.
Diffstat (limited to 'docs/types.rst')
-rw-r--r-- | docs/types.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/types.rst b/docs/types.rst index a669c2d8..04101c10 100644 --- a/docs/types.rst +++ b/docs/types.rst @@ -302,8 +302,8 @@ Creating arrays with variable length in memory can be done using the `new` keywo contract C { function f(uint len) { - uint[] a = new uint[](7); - bytes b = new bytes(len); + uint[] memory a = new uint[](7); + bytes memory b = new bytes(len); } } |