aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-08-25 19:25:30 +0800
committerchriseth <c@ethdev.com>2016-08-26 06:07:50 +0800
commit21b6aa92ffe6f5662a234e6e290e842e963917d1 (patch)
tree688721282aa421c1d9f6fdb92da100dbf020fbad /docs
parentf329d5e772ed4314897c46b67b1459f39838a2cc (diff)
downloaddexon-solidity-21b6aa92ffe6f5662a234e6e290e842e963917d1.tar.gz
dexon-solidity-21b6aa92ffe6f5662a234e6e290e842e963917d1.tar.zst
dexon-solidity-21b6aa92ffe6f5662a234e6e290e842e963917d1.zip
Disallow fallback function to return values.
Diffstat (limited to 'docs')
-rw-r--r--docs/contracts.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/contracts.rst b/docs/contracts.rst
index e9fc4526..85592f5d 100644
--- a/docs/contracts.rst
+++ b/docs/contracts.rst
@@ -425,7 +425,8 @@ Fallback Function
*****************
A contract can have exactly one unnamed function. This function cannot have
-arguments and is executed on a call to the contract if none of the other
+arguments and cannot return anything.
+It is executed on a call to the contract if none of the other
functions matches the given function identifier (or if no data was supplied at
all).