diff options
author | Denton Liu <liu.denton+github@gmail.com> | 2016-07-04 22:52:08 +0800 |
---|---|---|
committer | Denton Liu <liu.denton+github@gmail.com> | 2016-07-04 22:52:08 +0800 |
commit | d4d7d9854a16ae47dba9537029e59191f742fd40 (patch) | |
tree | b8f25869ca53ef0b51f2ebfe70298b9091f2a286 | |
parent | cb5fc2301419ea3415a2220775381a70df95ddee (diff) | |
download | dexon-solidity-d4d7d9854a16ae47dba9537029e59191f742fd40.tar.gz dexon-solidity-d4d7d9854a16ae47dba9537029e59191f742fd40.tar.zst dexon-solidity-d4d7d9854a16ae47dba9537029e59191f742fd40.zip |
Add reference to default values in mapping section
-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 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". |