Changed URL for getter to a ref

This commit is contained in:
James Ray 2017-06-30 19:24:39 +10:00 committed by GitHub
parent 355d69b4ba
commit 77e4f9c8fc

View File

@ -806,7 +806,7 @@ Because of this, mappings do not have a length or a concept of a key or value be
Mappings are only allowed for state variables (or as storage reference types Mappings are only allowed for state variables (or as storage reference types
in internal functions). in internal functions).
It is possible to mark mappings ``public`` and have Solidity create a `_getter <https://solidity.readthedocs.io/en/develop/contracts.html#getter-functions>`. It is possible to mark mappings ``public`` and have Solidity create a :ref:`getters <visibility-and-getters>`.
The ``_KeyType`` will become a required parameter for the getter and it will The ``_KeyType`` will become a required parameter for the getter and it will
return ``_ValueType``. return ``_ValueType``.