mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Document absence of constructors.
This commit is contained in:
parent
8f66390f56
commit
3ae326139a
@ -977,7 +977,9 @@ virtual method lookup.
|
||||
Constructors
|
||||
============
|
||||
A constructor is an optional function declared with the ``constructor`` keyword which is executed upon contract creation.
|
||||
Constructor functions can be either ``public`` or ``internal``.
|
||||
Constructor functions can be either ``public`` or ``internal``. If there is no constructor, the contract will assume the
|
||||
default constructor: ``contructor() public {}``.
|
||||
|
||||
|
||||
::
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user