Update control-structures.rst

typo -> coherence with previous occurrence in the document of C/JavaScript
This commit is contained in:
Mircea Moca 2016-08-16 10:45:04 +03:00 committed by GitHub
parent e3e4d84f33
commit ae0654443c

View File

@ -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.