diff options
author | chriseth <c@ethdev.com> | 2016-07-09 02:15:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-09 02:15:28 +0800 |
commit | efad1e05ac97c9460846778af566a7ec7f37d207 (patch) | |
tree | 3534d80ee4667f454a4cec019b99a84690c367dc /docs/types.rst | |
parent | e5061615cef6687fd241051945b4be929945a62b (diff) | |
parent | cf0579a86eede7cf9b57695f5fa6557c65d4f5a8 (diff) | |
download | dexon-solidity-efad1e05ac97c9460846778af566a7ec7f37d207.tar dexon-solidity-efad1e05ac97c9460846778af566a7ec7f37d207.tar.gz dexon-solidity-efad1e05ac97c9460846778af566a7ec7f37d207.tar.bz2 dexon-solidity-efad1e05ac97c9460846778af566a7ec7f37d207.tar.lz dexon-solidity-efad1e05ac97c9460846778af566a7ec7f37d207.tar.xz dexon-solidity-efad1e05ac97c9460846778af566a7ec7f37d207.tar.zst dexon-solidity-efad1e05ac97c9460846778af566a7ec7f37d207.zip |
Merge pull request #680 from Denton-L/fix-679
Add section about default values of variables
Diffstat (limited to 'docs/types.rst')
-rw-r--r-- | docs/types.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/types.rst b/docs/types.rst index 1a0de358..50e86ed0 100644 --- a/docs/types.rst +++ b/docs/types.rst @@ -577,7 +577,7 @@ can actually be any type, including mappings. Mappings can be seen as hashtables which are virtually initialized such that every possible key exists and is mapped to a value whose byte-representation is -all zeros. The similarity ends here, though: The key data is not actually stored +all zeros: a type's :ref:`default value <default-value>`. The similarity ends here, though: The key data is not actually stored in a mapping, only its ``sha3`` hash used to look up the value. Because of this, mappings do not have a length or a concept of a key or value being "set". |