mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Include pragma in 'Order of Layout' in the style guide
This commit is contained in:
parent
63c6007012
commit
6f758a6c95
@ -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