docs: Calldata arguments are no longer limited to external functions

This commit is contained in:
Kamil Śliwak
2021-03-30 14:31:51 +02:00
parent 93bfc76216
commit 60090fb4a9
@@ -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