diff options
author | Denton Liu <liu.denton+github@gmail.com> | 2016-05-06 22:25:18 +0800 |
---|---|---|
committer | Denton Liu <liu.denton+github@gmail.com> | 2016-05-19 05:17:05 +0800 |
commit | f8fcd1bc26b924475aeafda92d25d40e9da04be2 (patch) | |
tree | e1cf8dba1322c49aea79dc95f5168f517f1cac1a /docs | |
parent | 8efd6dd27a9ae1ccb8391ac326f04dff55129b5f (diff) | |
download | dexon-solidity-f8fcd1bc26b924475aeafda92d25d40e9da04be2.tar dexon-solidity-f8fcd1bc26b924475aeafda92d25d40e9da04be2.tar.gz dexon-solidity-f8fcd1bc26b924475aeafda92d25d40e9da04be2.tar.bz2 dexon-solidity-f8fcd1bc26b924475aeafda92d25d40e9da04be2.tar.lz dexon-solidity-f8fcd1bc26b924475aeafda92d25d40e9da04be2.tar.xz dexon-solidity-f8fcd1bc26b924475aeafda92d25d40e9da04be2.tar.zst dexon-solidity-f8fcd1bc26b924475aeafda92d25d40e9da04be2.zip |
Changed do_something to doSomething
This is in accordance to the style guide
Diffstat (limited to 'docs')
-rw-r--r-- | docs/style-guide.rst | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/docs/style-guide.rst b/docs/style-guide.rst index 02f89bb8..fe17658c 100644 --- a/docs/style-guide.rst +++ b/docs/style-guide.rst @@ -365,14 +365,14 @@ Yes:: address e, address f ) { - do_something; + doSomething(); } No:: function thisFunctionHasLotsOfArguments(address a, address b, address c, address d, address e, address f) { - do_something; + doSomething(); } function thisFunctionHasLotsOfArguments(address a, @@ -381,7 +381,7 @@ No:: address d, address e, address f) { - do_something; + doSomething(); } function thisFunctionHasLotsOfArguments( @@ -391,7 +391,7 @@ No:: address d, address e, address f) { - do_something; + doSomething(); } If a long function declaration has modifiers, then each modifier should be @@ -405,7 +405,7 @@ Yes:: priced returns (address) { - do_something; + doSomething(); } function thisFunctionNameIsReallyLong( @@ -418,7 +418,7 @@ Yes:: priced returns (address) { - do_something; + doSomething(); } No:: @@ -428,13 +428,13 @@ No:: onlyowner priced returns (address) { - do_something; + doSomething(); } function thisFunctionNameIsReallyLong(address x, address y, address z) public onlyowner priced returns (address) { - do_something; + doSomething(); } function thisFunctionNameIsReallyLong(address x, address y, address z) @@ -442,7 +442,7 @@ No:: onlyowner priced returns (address) { - do_something; + doSomething(); } For constructor functions on inherited contracts who's bases require arguments, |