Merge pull request #5009 from ethereum/file-order

Include pragma in 'Order of Layout' in the style guide
This commit is contained in:
chriseth 2018-09-19 09:33:37 +02:00 committed by GitHub
commit 7c15f6b1d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: