aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenton Liu <liu.denton+github@gmail.com>2016-07-04 22:52:08 +0800
committerDenton Liu <liu.denton+github@gmail.com>2016-07-04 22:52:08 +0800
commitd4d7d9854a16ae47dba9537029e59191f742fd40 (patch)
treeb8f25869ca53ef0b51f2ebfe70298b9091f2a286
parentcb5fc2301419ea3415a2220775381a70df95ddee (diff)
downloaddexon-solidity-d4d7d9854a16ae47dba9537029e59191f742fd40.tar
dexon-solidity-d4d7d9854a16ae47dba9537029e59191f742fd40.tar.gz
dexon-solidity-d4d7d9854a16ae47dba9537029e59191f742fd40.tar.bz2
dexon-solidity-d4d7d9854a16ae47dba9537029e59191f742fd40.tar.lz
dexon-solidity-d4d7d9854a16ae47dba9537029e59191f742fd40.tar.xz
dexon-solidity-d4d7d9854a16ae47dba9537029e59191f742fd40.tar.zst
dexon-solidity-d4d7d9854a16ae47dba9537029e59191f742fd40.zip
Add reference to default values in mapping section
-rw-r--r--docs/types.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/types.rst b/docs/types.rst
index dbbd84d3..d7387ab3 100644
--- a/docs/types.rst
+++ b/docs/types.rst
@@ -570,7 +570,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".