mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix mapping syntax in docs
This commit is contained in:
parent
af8bc1c908
commit
5148de3ed7
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user