diff options
author | Mircea Moca <mocamircea@gmail.com> | 2016-08-16 15:45:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-16 15:45:04 +0800 |
commit | ae0654443cdfe07737bf4e683e1f41ab6e96d6e2 (patch) | |
tree | e543a63224f47358ba63cc0f674f2d0895446295 /docs/control-structures.rst | |
parent | e3e4d84f3353eaaaadae7c1c6eac9e890188d0f8 (diff) | |
download | dexon-solidity-ae0654443cdfe07737bf4e683e1f41ab6e96d6e2.tar dexon-solidity-ae0654443cdfe07737bf4e683e1f41ab6e96d6e2.tar.gz dexon-solidity-ae0654443cdfe07737bf4e683e1f41ab6e96d6e2.tar.bz2 dexon-solidity-ae0654443cdfe07737bf4e683e1f41ab6e96d6e2.tar.lz dexon-solidity-ae0654443cdfe07737bf4e683e1f41ab6e96d6e2.tar.xz dexon-solidity-ae0654443cdfe07737bf4e683e1f41ab6e96d6e2.tar.zst dexon-solidity-ae0654443cdfe07737bf4e683e1f41ab6e96d6e2.zip |
Update control-structures.rst
typo -> coherence with previous occurrence in the document of C/JavaScript
Diffstat (limited to 'docs/control-structures.rst')
-rw-r--r-- | docs/control-structures.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/control-structures.rst b/docs/control-structures.rst index e03d8d6a..71fecb71 100644 --- a/docs/control-structures.rst +++ b/docs/control-structures.rst @@ -10,7 +10,7 @@ Control Structures Most of the control structures from C/JavaScript are available in Solidity except for ``switch`` and ``goto``. So there is: ``if``, ``else``, ``while``, ``for``, ``break``, ``continue``, ``return``, ``? :``, with -the usual semantics known from C / JavaScript. +the usual semantics known from C/JavaScript. Parentheses can *not* be omitted for conditionals, but curly brances can be omitted around single-statement bodies. |