docs: The default visibility level for state variables is internal

This commit is contained in:
Kamil Śliwak 2021-03-25 17:57:01 +01:00
parent 60090fb4a9
commit 259bf3f23a

View File

@ -32,6 +32,7 @@ For state variables, ``external`` is not possible.
Those functions and state variables can only be Those functions and state variables can only be
accessed internally (i.e. from within the current contract accessed internally (i.e. from within the current contract
or contracts deriving from it), without using ``this``. or contracts deriving from it), without using ``this``.
This is the default visibility level for state variables.
``private`` ``private``
Private functions and state variables are only Private functions and state variables are only