aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Kirchner <daniel@ekpyron.org>2018-07-10 19:27:48 +0800
committerDaniel Kirchner <daniel@ekpyron.org>2018-07-10 19:27:48 +0800
commit951b745bd9324c2b07049ab9565ed7c3438fcb89 (patch)
treef8861815d320967376aabc4f63f476dd4ff66fd9
parentafa5f528f5912e59abc75fea13c62fb627fc9399 (diff)
downloaddexon-solidity-951b745bd9324c2b07049ab9565ed7c3438fcb89.tar
dexon-solidity-951b745bd9324c2b07049ab9565ed7c3438fcb89.tar.gz
dexon-solidity-951b745bd9324c2b07049ab9565ed7c3438fcb89.tar.bz2
dexon-solidity-951b745bd9324c2b07049ab9565ed7c3438fcb89.tar.lz
dexon-solidity-951b745bd9324c2b07049ab9565ed7c3438fcb89.tar.xz
dexon-solidity-951b745bd9324c2b07049ab9565ed7c3438fcb89.tar.zst
dexon-solidity-951b745bd9324c2b07049ab9565ed7c3438fcb89.zip
Update docs.
-rw-r--r--docs/control-structures.rst5
1 files changed, 0 insertions, 5 deletions
diff --git a/docs/control-structures.rst b/docs/control-structures.rst
index 8ced0fbc..7beca65e 100644
--- a/docs/control-structures.rst
+++ b/docs/control-structures.rst
@@ -293,11 +293,6 @@ These can then either be assigned to newly declared variables or to pre-existing
(x, y) = (y, x);
// Components can be left out (also for variable declarations).
(data.length,,) = f(); // Sets the length to 7
- // Components can only be left out at the left-hand-side of assignments, with
- // one exception:
- (x,) = (1,);
- // (1,) is the only way to specify a 1-component tuple, because (1) is
- // equivalent to 1.
}
}