mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update mapping-types.rst
typo
This commit is contained in:
parent
b35cda5998
commit
54fa215885
@ -119,7 +119,7 @@ Iterable Mappings
|
||||
You cannot iterate over mappings, i.e. you cannot enumerate their keys.
|
||||
It is possible, though, to implement a data structure on
|
||||
top of them and iterate over that. For example, the code below implements an
|
||||
``IterableMapping`` library that the ``User`` contract then adds data too, and
|
||||
``IterableMapping`` library that the ``User`` contract then adds data to, and
|
||||
the ``sum`` function iterates over to sum all the values.
|
||||
|
||||
.. code-block:: solidity
|
||||
|
Loading…
Reference in New Issue
Block a user