aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorFederico Bond <federicobond@gmail.com>2016-12-22 06:27:31 +0800
committerGitHub <noreply@github.com>2016-12-22 06:27:31 +0800
commit5148de3ed714d99c93676174131cbcfd29c25753 (patch)
treeb3db4a9dd6a5a93f6b478e924bce66e38a1a338a /docs
parentaf8bc1c9087dd6fcf8fd81bd8aef25431f176143 (diff)
downloaddexon-solidity-5148de3ed714d99c93676174131cbcfd29c25753.tar
dexon-solidity-5148de3ed714d99c93676174131cbcfd29c25753.tar.gz
dexon-solidity-5148de3ed714d99c93676174131cbcfd29c25753.tar.bz2
dexon-solidity-5148de3ed714d99c93676174131cbcfd29c25753.tar.lz
dexon-solidity-5148de3ed714d99c93676174131cbcfd29c25753.tar.xz
dexon-solidity-5148de3ed714d99c93676174131cbcfd29c25753.tar.zst
dexon-solidity-5148de3ed714d99c93676174131cbcfd29c25753.zip
Fix mapping syntax in docs
Diffstat (limited to 'docs')
-rw-r--r--docs/types.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/types.rst b/docs/types.rst
index 069a9190..6b67e684 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.