aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-01-23 16:31:00 +0800
committerGitHub <noreply@github.com>2017-01-23 16:31:00 +0800
commit6946902cb5093ce26e36b6fe2022e8c44722348f (patch)
tree8578ebdf6fc3554ba6daf79a5f851957cbf9543a
parent12b002b3b8575539f332c30691e880bcc2fac5bc (diff)
parent0897e7bceccf6e83def1f9bd0084bbfb214b7904 (diff)
downloaddexon-solidity-6946902cb5093ce26e36b6fe2022e8c44722348f.tar.gz
dexon-solidity-6946902cb5093ce26e36b6fe2022e8c44722348f.tar.zst
dexon-solidity-6946902cb5093ce26e36b6fe2022e8c44722348f.zip
Merge pull request #1596 from sarbogast/patch-1
Fixed typo on contract instance
-rw-r--r--docs/control-structures.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/control-structures.rst b/docs/control-structures.rst
index 6c0b0f27..532dab0c 100644
--- a/docs/control-structures.rst
+++ b/docs/control-structures.rst
@@ -104,7 +104,7 @@ contract can be called internally.
External Function Calls
-----------------------
-The expressions ``this.g(8);`` and ``c.g(2);`` (where ``g`` is a contract
+The expressions ``this.g(8);`` and ``c.g(2);`` (where ``c`` is a contract
instance) are also valid function calls, but this time, the function
will be called "externally", via a message call and not directly via jumps.
Please note that function calls on ``this`` cannot be used in the constructor, as the