aboutsummaryrefslogtreecommitdiffstats
path: root/docs/control-structures.rst
diff options
context:
space:
mode:
authorDenton Liu <liu.denton+github@gmail.com>2016-08-25 03:28:07 +0800
committerDenton Liu <liu.denton+github@gmail.com>2016-08-27 01:33:42 +0800
commit532266b89e07d37115d160d3d1148b50e4fb1dfc (patch)
tree1f0be9568ebd277e07275b4baf0b1c214cb644a9 /docs/control-structures.rst
parentf1e6bc2eaa452412e8050f72ff14ad738dbe49bc (diff)
downloaddexon-solidity-532266b89e07d37115d160d3d1148b50e4fb1dfc.tar.gz
dexon-solidity-532266b89e07d37115d160d3d1148b50e4fb1dfc.tar.zst
dexon-solidity-532266b89e07d37115d160d3d1148b50e4fb1dfc.zip
Use new style for the docs
Diffstat (limited to 'docs/control-structures.rst')
-rw-r--r--docs/control-structures.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/control-structures.rst b/docs/control-structures.rst
index b3940f72..0e430b6b 100644
--- a/docs/control-structures.rst
+++ b/docs/control-structures.rst
@@ -275,8 +275,7 @@ As a result, the following code is legal, despite being poorly written::
uint bar = 5;
if (true) {
bar += baz;
- }
- else {
+ } else {
uint baz = 10;// never executes
}
return bar;// returns 5