From d662622b25ab737887d0c002aec76fc3bbbaf909 Mon Sep 17 00:00:00 2001 From: Kevin Florenzano Date: Thu, 5 Apr 2018 17:12:48 +0900 Subject: Variable assignment wording change --- docs/control-structures.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') 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); -- cgit v1.2.3