Skip to content

Commit d39de36

Browse files
authored
Merge pull request #12842 from aathan/patch-4
Update mapping-types.rst
2 parents b35cda5 + 54fa215 commit d39de36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/types/mapping-types.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Iterable Mappings
119119
You cannot iterate over mappings, i.e. you cannot enumerate their keys.
120120
It is possible, though, to implement a data structure on
121121
top of them and iterate over that. For example, the code below implements an
122-
``IterableMapping`` library that the ``User`` contract then adds data too, and
122+
``IterableMapping`` library that the ``User`` contract then adds data to, and
123123
the ``sum`` function iterates over to sum all the values.
124124

125125
.. code-block:: solidity

0 commit comments

Comments
 (0)