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
+1 -1
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.