docs: Calldata arguments are no longer limited to external functions

This commit is contained in:
Kamil Śliwak 2021-03-25 17:56:00 +01:00
parent 93bfc76216
commit 60090fb4a9

View File

@ -21,9 +21,6 @@ For state variables, ``external`` is not possible.
which means they can be called from other contracts and
via transactions. An external function ``f`` cannot be called
internally (i.e. ``f()`` does not work, but ``this.f()`` works).
External functions are sometimes more efficient when
they receive large arrays of data, because the data
is not copied from calldata to memory.
``public``
Public functions are part of the contract interface