mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #2487 from jamesray1/patch-23
Ref to getter function in docs/introduction-to-smart-contracts.rst
This commit is contained in:
commit
0fab0ed427
@ -133,7 +133,7 @@ too far, though, as it is neither possible to obtain a list of all keys of
|
|||||||
a mapping, nor a list of all values. So either keep in mind (or
|
a mapping, nor a list of all values. So either keep in mind (or
|
||||||
better, keep a list or use a more advanced data type) what you
|
better, keep a list or use a more advanced data type) what you
|
||||||
added to the mapping or use it in a context where this is not needed,
|
added to the mapping or use it in a context where this is not needed,
|
||||||
like this one. The getter function created by the ``public`` keyword
|
like this one. The :ref:`getter function<getter-functions>` created by the ``public`` keyword
|
||||||
is a bit more complex in this case. It roughly looks like the
|
is a bit more complex in this case. It roughly looks like the
|
||||||
following::
|
following::
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user