diff options
author | Kevin Florenzano <kevinflo@gmail.com> | 2018-04-05 16:12:48 +0800 |
---|---|---|
committer | Kevin Florenzano <kevinflo@gmail.com> | 2018-04-05 16:12:48 +0800 |
commit | d662622b25ab737887d0c002aec76fc3bbbaf909 (patch) | |
tree | 850d0c580f7564be7bb3c9ae1f370274cadc8544 /docs/control-structures.rst | |
parent | 884ea39d858c517f82196ecb2cf53bf10f46aa55 (diff) | |
download | dexon-solidity-d662622b25ab737887d0c002aec76fc3bbbaf909.tar.gz dexon-solidity-d662622b25ab737887d0c002aec76fc3bbbaf909.tar.zst dexon-solidity-d662622b25ab737887d0c002aec76fc3bbbaf909.zip |
Variable assignment wording change
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 cdc2d20d..40070a20 100644 --- a/docs/control-structures.rst +++ b/docs/control-structures.rst @@ -288,7 +288,7 @@ Solidity internally allows tuple types, i.e. a list of objects of potentially di uint x; bool b; uint y; - // These pre-existing variables can then be assigned to the tuple values + // Tuple values can be assigned to these pre-existing variables (x, b, y) = f(); // Common trick to swap values -- does not work for non-value storage types. (x, y) = (y, x); |