aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOla <innovator256@users.noreply.github.com>2016-11-23 07:21:13 +0800
committerGitHub <noreply@github.com>2016-11-23 07:21:13 +0800
commit622952d4b9e25a2c8afd3fe2e556d98e2ae62d30 (patch)
tree68bc0ad1d00bec1c0c544edbe2c67a32e0eb697b
parent1a205ebf783c61b6c92dd40d0e94f874dc21f7b0 (diff)
downloaddexon-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.rst2
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) {