Skip to content

Commit 9439ff8

Browse files
authored
Merge pull request #11301 from ra-phael/docs-clarify-init-value
[Docs] Clarify initialisation value of state variables
2 parents 1db3278 + dda4b5d commit 9439ff8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/contracts/inheritance.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ which is executed upon contract creation, and where you can run contract
388388
initialisation code.
389389

390390
Before the constructor code is executed, state variables are initialised to
391-
their specified value if you initialise them inline, or zero if you do not.
391+
their specified value if you initialise them inline, or their :ref:`default value<default-value>` if you do not.
392392

393393
After the constructor has run, the final code of the contract is deployed
394394
to the blockchain. The deployment of

0 commit comments

Comments
 (0)