Merge pull request #1360 from ethers/patch-1

docs: Remove named return
This commit is contained in:
chriseth 2016-11-14 13:23:44 +01:00 committed by GitHub
commit 4f546e6563

View File

@ -25,7 +25,7 @@ Storage
storedData = x;
}
function get() constant returns (uint retVal) {
function get() constant returns (uint) {
return storedData;
}
}
@ -136,7 +136,7 @@ like this one. The accessor function created by the ``public`` keyword
is a bit more complex in this case. It roughly looks like the
following::
function balances(address _account) returns (uint balance) {
function balances(address _account) returns (uint) {
return balances[_account];
}