mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #3299 from KamuelaFranco/patch-1
Update style-guide.rst to include enum style
This commit is contained in:
commit
a5d2cecbc3
@ -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