From d4d7d9854a16ae47dba9537029e59191f742fd40 Mon Sep 17 00:00:00 2001 From: Denton Liu Date: Mon, 4 Jul 2016 10:52:08 -0400 Subject: Add reference to default values in mapping section --- docs/types.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 `. 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". -- cgit v1.2.3