aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-03-14 22:45:38 +0800
committerchriseth <c@ethdev.com>2016-03-14 22:45:38 +0800
commitc38797fbff29d0e882c8bc04de1f5200ca6922c5 (patch)
tree6640242ca9fbdab703b3895f814a48134becaf4d /docs
parenta762694f1d96e1f39e8c8a0e523101bfa46e8355 (diff)
downloaddexon-solidity-c38797fbff29d0e882c8bc04de1f5200ca6922c5.tar
dexon-solidity-c38797fbff29d0e882c8bc04de1f5200ca6922c5.tar.gz
dexon-solidity-c38797fbff29d0e882c8bc04de1f5200ca6922c5.tar.bz2
dexon-solidity-c38797fbff29d0e882c8bc04de1f5200ca6922c5.tar.lz
dexon-solidity-c38797fbff29d0e882c8bc04de1f5200ca6922c5.tar.xz
dexon-solidity-c38797fbff29d0e882c8bc04de1f5200ca6922c5.tar.zst
dexon-solidity-c38797fbff29d0e882c8bc04de1f5200ca6922c5.zip
Fix examples.
Diffstat (limited to 'docs')
-rw-r--r--docs/types.rst4
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);
}
}