diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-09-18 22:06:49 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-09-18 22:06:49 +0800 |
commit | 6f758a6c956fcea7f07cf844bb8f9389dce69ae3 (patch) | |
tree | 4a5f31e2b72188aa0d612eba165863793e251c52 | |
parent | 63c6007012c9cd8509b752e0d0adc044be366ff7 (diff) | |
download | dexon-solidity-6f758a6c956fcea7f07cf844bb8f9389dce69ae3.tar.gz dexon-solidity-6f758a6c956fcea7f07cf844bb8f9389dce69ae3.tar.zst dexon-solidity-6f758a6c956fcea7f07cf844bb8f9389dce69ae3.zip |
Include pragma in 'Order of Layout' in the style guide
-rw-r--r-- | docs/style-guide.rst | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/style-guide.rst b/docs/style-guide.rst index 511236b9..b97beebd 100644 --- a/docs/style-guide.rst +++ b/docs/style-guide.rst @@ -880,10 +880,11 @@ Order of Layout Layout contract elements in the following order: -1. Import statements -2. Interfaces -3. Libraries -4. Contracts +1. Pragma statements +2. Import statements +3. Interfaces +4. Libraries +5. Contracts Inside each contract, library or interface, use the following order: |