diff options
author | Erik Kundt <bitshift@posteo.org> | 2018-07-05 00:04:44 +0800 |
---|---|---|
committer | Erik Kundt <bitshift@posteo.org> | 2018-07-17 23:44:51 +0800 |
commit | b5ecfbe5bc2afdf8f42ec67715794aefad9dfe0f (patch) | |
tree | fc949d51bb2f84b08072ea75cae070343e875661 /docs/layout-of-source-files.rst | |
parent | 1d33f41c1ab96746b97b97f79732ec23759fb8f0 (diff) | |
download | dexon-solidity-b5ecfbe5bc2afdf8f42ec67715794aefad9dfe0f.tar dexon-solidity-b5ecfbe5bc2afdf8f42ec67715794aefad9dfe0f.tar.gz dexon-solidity-b5ecfbe5bc2afdf8f42ec67715794aefad9dfe0f.tar.bz2 dexon-solidity-b5ecfbe5bc2afdf8f42ec67715794aefad9dfe0f.tar.lz dexon-solidity-b5ecfbe5bc2afdf8f42ec67715794aefad9dfe0f.tar.xz dexon-solidity-b5ecfbe5bc2afdf8f42ec67715794aefad9dfe0f.tar.zst dexon-solidity-b5ecfbe5bc2afdf8f42ec67715794aefad9dfe0f.zip |
Enforces visibility specifier and updates docs.
Diffstat (limited to 'docs/layout-of-source-files.rst')
-rw-r--r-- | docs/layout-of-source-files.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/layout-of-source-files.rst b/docs/layout-of-source-files.rst index 81faf816..46ef3d57 100644 --- a/docs/layout-of-source-files.rst +++ b/docs/layout-of-source-files.rst @@ -205,7 +205,7 @@ for the two input parameters and two returned values. * @return s The calculated surface. * @return p The calculated perimeter. */ - function rectangle(uint w, uint h) returns (uint s, uint p) { + function rectangle(uint w, uint h) public returns (uint s, uint p) { s = w * h; p = 2 * (w + h); } |