Renamed variable for clarity.

Co-authored-by: Kamil Śliwak <cameel2@gmail.com>
This commit is contained in:
Keqi Huang 2021-05-23 00:19:35 +08:00 committed by hrkrshnn
parent 29c8f282e4
commit 7b228a5b9a

View File

@ -148,7 +148,7 @@ If you have a ``public`` state variable of array type, then you can only retriev
single elements of the array via the generated getter function. This mechanism
exists to avoid high gas costs when returning an entire array. You can use
arguments to specify which individual element to return, for example
``data(0)``. If you want to return an entire array in one call, then you need
``myArray(0)``. If you want to return an entire array in one call, then you need
to write a function, for example:
::