diff options
author | Ola <innovator256@users.noreply.github.com> | 2016-11-23 07:21:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-23 07:21:13 +0800 |
commit | 622952d4b9e25a2c8afd3fe2e556d98e2ae62d30 (patch) | |
tree | 68bc0ad1d00bec1c0c544edbe2c67a32e0eb697b | |
parent | 1a205ebf783c61b6c92dd40d0e94f874dc21f7b0 (diff) | |
download | dexon-solidity-622952d4b9e25a2c8afd3fe2e556d98e2ae62d30.tar.gz dexon-solidity-622952d4b9e25a2c8afd3fe2e556d98e2ae62d30.tar.zst dexon-solidity-622952d4b9e25a2c8afd3fe2e556d98e2ae62d30.zip |
Update types.rst
line 349 "returns" not return
-rw-r--r-- | docs/types.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/types.rst b/docs/types.rst index b22ad7d4..524956fc 100644 --- a/docs/types.rst +++ b/docs/types.rst @@ -346,7 +346,7 @@ Example that shows how to use internal function types:: contract Pyramid { using ArrayUtils for *; - function pyramid(uint l) return (uint) { + function pyramid(uint l) returns (uint) { return ArrayUtils.range(l).map(square).reduce(sum); } function square(uint x) internal returns (uint) { |