Fix mapping syntax in docs

This commit is contained in:
Federico Bond 2016-12-21 19:27:31 -03:00 committed by GitHub
parent af8bc1c908
commit 5148de3ed7

View File

@ -765,7 +765,7 @@ assigning it to a local variable, as in
Mappings
========
Mapping types are declared as ``mapping _KeyType => _ValueType``.
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.