mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #5009 from ethereum/file-order
Include pragma in 'Order of Layout' in the style guide
This commit is contained in:
commit
7c15f6b1d4
@ -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:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user