mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update style-guide.rst to include enum style
This commit is contained in:
parent
226bfe5be1
commit
ef57961711
@ -739,6 +739,12 @@ Modifier Names
|
||||
Use mixedCase. Examples: ``onlyBy``, ``onlyAfter``, ``onlyDuringThePreSale``.
|
||||
|
||||
|
||||
Enums
|
||||
=====
|
||||
|
||||
Enums, in the style of simple type declarations, should be named using the CapWords style. Examples: ``TokenGroup``, ``Frame``, ``HashStyle``, ``CharacterLocation``.
|
||||
|
||||
|
||||
Avoiding Naming Collisions
|
||||
==========================
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user