aboutsummaryrefslogtreecommitdiffstats
path: root/docs/types.rst
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-07-09 02:15:28 +0800
committerGitHub <noreply@github.com>2016-07-09 02:15:28 +0800
commitefad1e05ac97c9460846778af566a7ec7f37d207 (patch)
tree3534d80ee4667f454a4cec019b99a84690c367dc /docs/types.rst
parente5061615cef6687fd241051945b4be929945a62b (diff)
parentcf0579a86eede7cf9b57695f5fa6557c65d4f5a8 (diff)
downloaddexon-solidity-efad1e05ac97c9460846778af566a7ec7f37d207.tar.gz
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.rst2
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".