diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2016-12-22 22:46:07 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-22 22:46:07 +0800 |
commit | 8573b00eae068ebddeab6a942d6112ddfebcb948 (patch) | |
tree | b3db4a9dd6a5a93f6b478e924bce66e38a1a338a | |
parent | af8bc1c9087dd6fcf8fd81bd8aef25431f176143 (diff) | |
parent | 5148de3ed714d99c93676174131cbcfd29c25753 (diff) | |
download | dexon-solidity-8573b00eae068ebddeab6a942d6112ddfebcb948.tar.gz dexon-solidity-8573b00eae068ebddeab6a942d6112ddfebcb948.tar.zst dexon-solidity-8573b00eae068ebddeab6a942d6112ddfebcb948.zip |
Merge pull request #1519 from federicobond/patch-1
Fix mapping syntax in docs
-rw-r--r-- | docs/types.rst | 2 |
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. |