aboutsummaryrefslogtreecommitdiffstats
path: root/docs/control-structures.rst
diff options
context:
space:
mode:
authorDenton Liu <liu.denton+github@gmail.com>2016-05-12 21:49:49 +0800
committerDenton Liu <liu.denton+github@gmail.com>2016-05-12 21:49:49 +0800
commit50eb3b8f8f8679e4508ae0da741af65f8cd4a263 (patch)
treea637f3fb6f027510555ddf25d3a42106559f7615 /docs/control-structures.rst
parente60a17379e350eed72c9a0b6c4c100a9f08ba215 (diff)
downloaddexon-solidity-50eb3b8f8f8679e4508ae0da741af65f8cd4a263.tar.gz
dexon-solidity-50eb3b8f8f8679e4508ae0da741af65f8cd4a263.tar.zst
dexon-solidity-50eb3b8f8f8679e4508ae0da741af65f8cd4a263.zip
Moved comment to more logical place
Diffstat (limited to 'docs/control-structures.rst')
-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 86f54453..3e766b5c 100644
--- a/docs/control-structures.rst
+++ b/docs/control-structures.rst
@@ -187,8 +187,8 @@ In addition to this, if a variable is declared, it will be initialized at the be
As a result, the following code is legal, despite being poorly written.::
function foo() returns (uint) {
- uint bar = 5;
// baz is implicitly initialized as 0
+ uint bar = 5;
if (true) {
bar += baz;
}