diff options
author | Denton Liu <liu.denton+github@gmail.com> | 2016-05-18 23:11:39 +0800 |
---|---|---|
committer | Denton Liu <liu.denton+github@gmail.com> | 2016-05-19 05:17:05 +0800 |
commit | c851cd0481b557ef0a18c0bfa13cbe2ab0abf716 (patch) | |
tree | 2c8fa15a55dd23506339313b610b7c51251289a2 /docs/control-structures.rst | |
parent | a8164eb5d72f01b44d5c83ce1b0d9650dc54b04c (diff) | |
download | dexon-solidity-c851cd0481b557ef0a18c0bfa13cbe2ab0abf716.tar.gz dexon-solidity-c851cd0481b557ef0a18c0bfa13cbe2ab0abf716.tar.zst dexon-solidity-c851cd0481b557ef0a18c0bfa13cbe2ab0abf716.zip |
Corrected capitalisation of symbol names
Diffstat (limited to 'docs/control-structures.rst')
-rw-r--r-- | docs/control-structures.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/control-structures.rst b/docs/control-structures.rst index c26300a3..15effb78 100644 --- a/docs/control-structures.rst +++ b/docs/control-structures.rst @@ -31,7 +31,7 @@ Internal Function Calls Functions of the current contract can be called directly ("internally"), also recursively, as seen in this nonsensical example:: - contract c { + contract C { function g(uint a) returns (uint ret) { return f(); } function f() returns (uint ret) { return g(7) + f(); } } @@ -77,7 +77,7 @@ of unused parameters (especially return parameters) can be omitted. :: - contract c { + contract C { function f(uint key, uint value) { ... } function g() { @@ -541,7 +541,7 @@ It is planned that the stack height changes can be specified in inline assembly. .. code:: - contract c { + contract C { uint b; function f(uint x) returns (uint r) { assembly { @@ -615,7 +615,7 @@ be just `0`, but it can also be a complex functional-style expression. .. code:: - contract c { + contract C { function f(uint x) returns (uint b) { assembly { let v := add(x, 1) |