aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-09-19 15:33:37 +0800
committerGitHub <noreply@github.com>2018-09-19 15:33:37 +0800
commit7c15f6b1d4e6aae11f10c2d2737e2a852370ac79 (patch)
tree2a9bc7bd66f6ee67422dec3d423bfe8668a18709
parent37fa0c85ecfb459d5cdef5309ca2327e8a8d00c4 (diff)
parent6f758a6c956fcea7f07cf844bb8f9389dce69ae3 (diff)
downloaddexon-solidity-7c15f6b1d4e6aae11f10c2d2737e2a852370ac79.tar.gz
dexon-solidity-7c15f6b1d4e6aae11f10c2d2737e2a852370ac79.tar.zst
dexon-solidity-7c15f6b1d4e6aae11f10c2d2737e2a852370ac79.zip
Merge pull request #5009 from ethereum/file-order
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: