diff options
author | Daniel Kirchner <daniel@ekpyron.org> | 2018-03-09 21:25:57 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-04-04 00:21:55 +0800 |
commit | 3ae326139a505bed877d5b9ac9b4b3ed84496c3d (patch) | |
tree | 14e66dc2af30bba6149d19067899026d695706bb | |
parent | 8f66390f56c866f70ab6617dac1f0713ace2d7ff (diff) | |
download | dexon-solidity-3ae326139a505bed877d5b9ac9b4b3ed84496c3d.tar.gz dexon-solidity-3ae326139a505bed877d5b9ac9b4b3ed84496c3d.tar.zst dexon-solidity-3ae326139a505bed877d5b9ac9b4b3ed84496c3d.zip |
Document absence of constructors.
-rw-r--r-- | docs/contracts.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/contracts.rst b/docs/contracts.rst index e3f5bbac..9ae80209 100644 --- a/docs/contracts.rst +++ b/docs/contracts.rst @@ -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 {}``. + :: |