diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2017-06-12 17:11:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-12 17:11:59 +0800 |
commit | 496c2a208ee5d03792e7cde767ecf8dfce860912 (patch) | |
tree | 6769efa1e0a88ac47b0e64769ef22000bcadff39 | |
parent | fe3b46554af07b35f84ca48264830f8c27d4e52e (diff) | |
parent | 0423278a318b29474803ef1f8b204db56b2b9734 (diff) | |
download | dexon-solidity-496c2a208ee5d03792e7cde767ecf8dfce860912.tar.gz dexon-solidity-496c2a208ee5d03792e7cde767ecf8dfce860912.tar.zst dexon-solidity-496c2a208ee5d03792e7cde767ecf8dfce860912.zip |
Merge pull request #2374 from jamesray1/patch-18
Create 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 c400aecb..9365d3b0 100644 --- a/docs/types.rst +++ b/docs/types.rst @@ -795,7 +795,7 @@ Mapping types are declared as ``mapping(_KeyType => _ValueType)``. Here ``_KeyType`` can be almost any type except for a mapping, a dynamically sized array, a contract, an enum and a struct. ``_ValueType`` can actually be any type, including mappings. -Mappings can be seen as hashtables which are virtually initialized such that +Mappings can be seen as `hash tables <https://en.wikipedia.org/wiki/Hash_table>`_ which are virtually initialized such that every possible key exists and is mapped to a value whose byte-representation is 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 ``keccak256`` hash used to look up the value. |