aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-09-18 22:06:49 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-09-18 22:06:49 +0800
commit6f758a6c956fcea7f07cf844bb8f9389dce69ae3 (patch)
tree4a5f31e2b72188aa0d612eba165863793e251c52
parent63c6007012c9cd8509b752e0d0adc044be366ff7 (diff)
downloaddexon-solidity-6f758a6c956fcea7f07cf844bb8f9389dce69ae3.tar
dexon-solidity-6f758a6c956fcea7f07cf844bb8f9389dce69ae3.tar.gz
dexon-solidity-6f758a6c956fcea7f07cf844bb8f9389dce69ae3.tar.bz2
dexon-solidity-6f758a6c956fcea7f07cf844bb8f9389dce69ae3.tar.lz
dexon-solidity-6f758a6c956fcea7f07cf844bb8f9389dce69ae3.tar.xz
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.rst9
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: