From 622952d4b9e25a2c8afd3fe2e556d98e2ae62d30 Mon Sep 17 00:00:00 2001 From: Ola Date: Tue, 22 Nov 2016 18:21:13 -0500 Subject: Update types.rst line 349 "returns" not return --- docs/types.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3