diff options
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 0a0bffea..dfab79c8 100644 --- a/docs/types.rst +++ b/docs/types.rst @@ -387,10 +387,10 @@ Example that shows how to use internal function types:: } function reduce( uint[] memory self, - function (uint x, uint y) returns (uint) f + function (uint, uint) returns (uint) f ) internal - returns (uint r) + returns (uint) { r = self[0]; for (uint i = 1; i < self.length; i++) { |