aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Arbogast <sebastien.arbogast@gmail.com>2017-01-21 04:52:36 +0800
committerGitHub <noreply@github.com>2017-01-21 04:52:36 +0800
commit0897e7bceccf6e83def1f9bd0084bbfb214b7904 (patch)
tree8578ebdf6fc3554ba6daf79a5f851957cbf9543a
parent12b002b3b8575539f332c30691e880bcc2fac5bc (diff)
downloaddexon-solidity-0897e7bceccf6e83def1f9bd0084bbfb214b7904.tar
dexon-solidity-0897e7bceccf6e83def1f9bd0084bbfb214b7904.tar.gz
dexon-solidity-0897e7bceccf6e83def1f9bd0084bbfb214b7904.tar.bz2
dexon-solidity-0897e7bceccf6e83def1f9bd0084bbfb214b7904.tar.lz
dexon-solidity-0897e7bceccf6e83def1f9bd0084bbfb214b7904.tar.xz
dexon-solidity-0897e7bceccf6e83def1f9bd0084bbfb214b7904.tar.zst
dexon-solidity-0897e7bceccf6e83def1f9bd0084bbfb214b7904.zip
Fixed typo on contract instance
Fixed the name of the variable referencing a 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