diff options
author | ethers <ethereum@outlook.com> | 2016-11-18 10:13:33 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-18 10:13:33 +0800 |
commit | 1d9aee97c2532d57bd27e65f8b22079ebbe71e3a (patch) | |
tree | 05bf71c3ad77abbbf420dd2f84ce2855c81d8698 /docs/style-guide.rst | |
parent | 549bca149408262341375f39a75e878e68d2df6b (diff) | |
download | dexon-solidity-1d9aee97c2532d57bd27e65f8b22079ebbe71e3a.tar.gz dexon-solidity-1d9aee97c2532d57bd27e65f8b22079ebbe71e3a.tar.zst dexon-solidity-1d9aee97c2532d57bd27e65f8b22079ebbe71e3a.zip |
styleguide: Don't include a whitespace in the fallback function
Diffstat (limited to 'docs/style-guide.rst')
-rw-r--r-- | docs/style-guide.rst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/style-guide.rst b/docs/style-guide.rst index b0560917..46b915e1 100644 --- a/docs/style-guide.rst +++ b/docs/style-guide.rst @@ -262,6 +262,19 @@ No:: y = 2; long_variable = 3; +Don't include a whitespace in the fallback function: + +Yes:: + + function() { + ... + } + +No:: + + function () { + ... + } Control Structures ================== |