Merge pull request #1519 from federicobond/patch-1

Fix mapping syntax in docs
This commit is contained in:
Yoichi Hirai 2016-12-22 15:46:07 +01:00 committed by GitHub
commit 8573b00eae

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.