Fix description of this in free functions

This commit is contained in:
minami 2022-08-04 15:17:32 +09:00 committed by Kamil Śliwak
parent 2c5a8c0e25
commit 796fb2cfad

View File

@ -35,10 +35,10 @@ that call them, similar to internal library functions.
.. note:: .. note::
Functions defined outside a contract are still always executed Functions defined outside a contract are still always executed
in the context of a contract. They still have access to the variable ``this``, in the context of a contract.
can call other contracts, send them Ether and destroy the contract that called them, They still can call other contracts, send them Ether and destroy the contract that called them,
among other things. The main difference to functions defined inside a contract among other things. The main difference to functions defined inside a contract
is that free functions do not have direct access to storage variables and functions is that free functions do not have direct access to the variable ``this``, storage variables and functions
not in their scope. not in their scope.
.. _function-parameters-return-variables: .. _function-parameters-return-variables: