Skip to content

Commit 796fb2c

Browse files
minaminaocameel
authored andcommitted
Fix description of this in free functions
1 parent 2c5a8c0 commit 796fb2c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/contracts/functions.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ that call them, similar to internal library functions.
3535
3636
.. note::
3737
Functions defined outside a contract are still always executed
38-
in the context of a contract. They still have access to the variable ``this``,
39-
can call other contracts, send them Ether and destroy the contract that called them,
38+
in the context of a contract.
39+
They still can call other contracts, send them Ether and destroy the contract that called them,
4040
among other things. The main difference to functions defined inside a contract
41-
is that free functions do not have direct access to storage variables and functions
41+
is that free functions do not have direct access to the variable ``this``, storage variables and functions
4242
not in their scope.
4343

4444
.. _function-parameters-return-variables:

0 commit comments

Comments
 (0)