From 5148de3ed714d99c93676174131cbcfd29c25753 Mon Sep 17 00:00:00 2001 From: Federico Bond Date: Wed, 21 Dec 2016 19:27:31 -0300 Subject: [PATCH] Fix mapping syntax in docs --- docs/types.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/types.rst b/docs/types.rst index 069a91905..6b67e6840 100644 --- a/docs/types.rst +++ b/docs/types.rst @@ -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.