diff options
author | chriseth <chris@ethereum.org> | 2018-08-10 03:10:53 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-08-14 21:50:46 +0800 |
commit | 8a06000a307e7f2a72f9bfdc114d84fab8ad2ebf (patch) | |
tree | b3196dc6f52ab5e60bcd09533a27194b52e68c08 /docs/control-structures.rst | |
parent | 6a5a187d83d97764fc6f77e392cdb2b9d8d6bb72 (diff) | |
download | dexon-solidity-8a06000a307e7f2a72f9bfdc114d84fab8ad2ebf.tar dexon-solidity-8a06000a307e7f2a72f9bfdc114d84fab8ad2ebf.tar.gz dexon-solidity-8a06000a307e7f2a72f9bfdc114d84fab8ad2ebf.tar.bz2 dexon-solidity-8a06000a307e7f2a72f9bfdc114d84fab8ad2ebf.tar.lz dexon-solidity-8a06000a307e7f2a72f9bfdc114d84fab8ad2ebf.tar.xz dexon-solidity-8a06000a307e7f2a72f9bfdc114d84fab8ad2ebf.tar.zst dexon-solidity-8a06000a307e7f2a72f9bfdc114d84fab8ad2ebf.zip |
Update documentation.
Diffstat (limited to 'docs/control-structures.rst')
-rw-r--r-- | docs/control-structures.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/control-structures.rst b/docs/control-structures.rst index 7efdc4e1..def75132 100644 --- a/docs/control-structures.rst +++ b/docs/control-structures.rst @@ -159,8 +159,8 @@ throws an exception or goes out of gas. .. warning:: Any interaction with another contract imposes a potential danger, especially - if the source code of the contract is not known in advance. The current - contract hands over control to the called contract and that may potentially + if the source code of the contract is not known in advance. The + current contract hands over control to the called contract and that may potentially do just about anything. Even if the called contract inherits from a known parent contract, the inheriting contract is only required to have a correct interface. The implementation of the contract, however, can be completely arbitrary and thus, @@ -293,7 +293,7 @@ These can then either be assigned to newly declared variables or to pre-existing function g() public { // Variables declared with type and assigned from the returned tuple, - // not all elements have to be specified (but the amount must match). + // not all elements have to be specified (but the number must match). (uint x, , uint y) = f(); // Common trick to swap values -- does not work for non-value storage types. (x, y) = (y, x); |